solving equation when values of input are constantly varying

4 Ansichten (letzte 30 Tage)
NAVNEET NAYAN
NAVNEET NAYAN am 9 Mai 2017
Bearbeitet: Stephen23 am 9 Mai 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 Kommentar
Stephen23
Stephen23 am 9 Mai 2017
Bearbeitet: Stephen23 am 9 Mai 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!

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Programming finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by