How to solve a set of equations with a vector as input
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Lu Da Silva
am 23 Okt. 2020
Kommentiert: Lu Da Silva
am 23 Okt. 2020
I have to create a vector P that is made of 50 values ranging from 0 to 2*10^6.
Then I solve 3 equations and need to receive 3 vectors (with 50 values each).
I don't really understand how to do that; this is how I tried:
for P = [0:2e+6:50]
wm = (P/k)^(1/3);
ws = wm / (-1.008);
Ir = sqrt(P/(-0.567);
end
But I only receive one value for each of the 3 equations, not 3 vectors...
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Mathematics and Optimization 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!