Plotting mathematical functions in matplot
5 ビュー (過去 30 日間)
古いコメントを表示
Himanshu Sinha
2021 年 5 月 22 日
回答済み: Sulaymon Eshkabilov
2021 年 5 月 22 日
I need to plot this in python.
y=(1-x) ^3 -2.
-1≤ x ≤ 5.(How do I define this range?)
0 件のコメント
採用された回答
Sulaymon Eshkabilov
2021 年 5 月 22 日
In MATLAB, you can plot it using:
y=@(x)((1-x).^3-2);
fplot(y, [-1, 5]);
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!