Borrar filtros
Borrar filtros

solving equation when values of input are constantly varying

2 visualizaciones (últimos 30 días)
NAVNEET NAYAN
NAVNEET NAYAN el 9 de Mayo de 2017
Editada: Stephen23 el 9 de Mayo de 2017
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
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!

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by