fplot is not working
36 ビュー (過去 30 日間)
古いコメントを表示
syms x
f(x) = sin(x)
fplot(f(x),[-pi/2,pi/2])
0 件のコメント
回答 (1 件)
Cris LaPierre
2020 年 10 月 26 日
編集済み: Cris LaPierre
2020 年 10 月 26 日
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 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!