Empty Sym when using vpasolve-operator.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
e = [0.05:0.05:1];
syms tp
eqn = 900-e.*5.67*10^(-8)*tp^4-20*(tp-293)==0;
S = vpasolve(eqn,tp)
I get the following message: Empty Sym: 0-by-1 when running this. Any changes I can make?
0 Kommentare
Antworten (1)
Torsten
am 20 Jan. 2022
e = [0.05:0.05:1];
syms tp
for i=1:numel(e)
eqn = 900-e(i)*5.67*10^(-8)*tp^4-20*(tp-293)==0;
S{i} = vpasolve(eqn,tp);
end
2 Kommentare
Siehe auch
Kategorien
Mehr zu Formula Manipulation and Simplification 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!