- Read about linspace. DEfine your x, y with this.
- Use meshgrid on x,y to get matrices X, Y.
- Substitute X, Y in your formula. You will get Z matrix.
- USe surf.
How do I plot this?
1 回表示 (過去 30 日間)
古いコメントを表示
y = x^2 + y^2
0 件のコメント
採用された回答
KSSV
2020 年 11 月 6 日
There is no z involved in your equation. This is your home work, so follow the below hints.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Surface and Mesh Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!