Error problems when trying to solve cubic equation
Ältere Kommentare anzeigen
I have Fr=0:0.2:8.2, then F=Fr*0.36840315 and Qw=Fr*0.556250681179147.
I am trying to find the roots of a cubic equation solving for Q.
I try and use this formula to solve it but keep getting this error. roots(((Q./Qw).^3-(Q./Qw)-(1./F.^3))=0) | Error: The expression to the left of the equals sign is not a valid target for an assignment.
Any help as to how to overcome this error or an alternative solution to this problem would be greatly appreciated.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Linear Algebra 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!