fplot is not working
38 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
syms x
f(x) = sin(x)
fplot(f(x),[-pi/2,pi/2])
0 Kommentare
Antworten (1)
Cris LaPierre
am 26 Okt. 2020
Bearbeitet: Cris LaPierre
am 26 Okt. 2020
You are close. The error in line 3 is because f(x) is not the function name. Check in your workspace and you'll see that f is.
syms x
f(x) = sin(x)
fplot(f,[-pi/2,pi/2])
0 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!