Error in fzero function
11 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Sam Oznc
am 9 Apr. 2018
Kommentiert: Sam Oznc
am 9 Apr. 2018
why i got this error and how can i fix this?
Thank you..
a=log(0.5)*log10(30)*sin(pi/6); b=0.5*(atan(0.5))*3^(1/5);
fzero('x^3+2*a-b',-1)
FZERO cannot continue because user-supplied expression ==> x^3+2*a-b failed with the error below.
Error in inline expression ==> x^3+2*a-b Undefined function or variable 'a'.
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Problem-Based Optimization Setup 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!