the code doesn't update the values
Ältere Kommentare anzeigen
anyone can help with this matlab code it doesn't update the values of p and t
n=1
while n<20
p=10^((30.59051-8.2*log10(t))+(0.0024804*t)-(3142.31/t))
t=314+((6.324-p)/(6.66*(10^-4)*101.32));
n=n+1;
end
Akzeptierte Antwort
Weitere Antworten (1)
Azzi Abdelmalek
am 1 Mai 2014
0 Stimmen
You need to initialize your variable t
Kategorien
Mehr zu Function Creation finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!