solving equation when values of input are constantly varying
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
i have an equation 't = 0.01 * P^(-0.25) exp( 6000/tg)', where p and tg are varying everytime. finally i have 32 values of tg and p. how can i get 32 values of t using a single equation and also not varying the input manually everytime. one solution which i was thinking is that i should store p and tg values in a matrix and then write some code so that in every iteration it changes and value of t gets stored after every iteration in a matrix? so please tell me how can i solve it or hhow can i do it?
1 comentario
Stephen23
el 9 de Mayo de 2017
Editada: Stephen23
el 9 de Mayo de 2017
"i was thinking is that i should store p and tg values in a matrix and then write some code so that in every iteration it changes and value of t gets stored after every iteration in a matrix"
That would be a good way to solve this task. Go for it!
Respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!