How to get a graph of variable which depend on previous variables.

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 2K views
sgvaibhav
Messages
65
Reaction score
0
The picture explains everything.
Only V varies from 0 to 450.
Rest variables such as (rho), S, W are constant (those can be replaced with numbers in MATLAB).

So how do i plot such a graph?
oh forgot to mention the axes.
The y-axis should "Tr" and x - axis should be "V".
 

Attachments

  • Thrust Required.PNG
    Thrust Required.PNG
    30.7 KB · Views: 575
Physics news on Phys.org
Well, plug all the constant terms in the equation of Tr and leave v as an independent variable, it just seems to be ordinary algebra.
 
hmm...
i tried that, but i could not plot...
can i get a *part* of sample script.
 
Do you know how "for" loops work?
 
hmmm...
i recently learned for loops in C++...
i never knew if they existed in matlab...