How to solve non linear equation for one variable?
Ältere Kommentare anzeigen
Hi, I am trying to solve a non-linear equation for one variable but it's not working. Can somebody help me in this regards? your help would be highly appreciated. Thanks
if
temp=[24 78 139 194 297 397];
yieldstress=[45 36 37 33 30 28];
syms DD positive
solve((6.046.*sqrt(DD))./(1e6)+(9.79.*(1-((-4.7872e-5.*temp).*(log(6.667e-4./(286.*sqrt(DD))))).^(2/3)).^(3/2)).*(3.06) == yieldstress);
end
Akzeptierte Antwort
Weitere Antworten (1)
Torsten
am 24 Apr. 2018
0 Stimmen
The left-hand side of your equation (6.046.*sqrt(...)...) is a scalar, the right-hand side (yieldstress) is a vector. This is not compatible.
Best wishes
Torsten.
1 Kommentar
Farhan Ashraf
am 24 Apr. 2018
Kategorien
Mehr zu Mathematics 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!