How do I plot this?

1 回表示 (過去 30 日間)
Vanessa Andrade
Vanessa Andrade 2020 年 11 月 6 日
編集済み: Vanessa Andrade 2020 年 11 月 6 日
y = x^2 + y^2

採用された回答

KSSV
KSSV 2020 年 11 月 6 日
There is no z involved in your equation. This is your home work, so follow the below hints.
  1. Read about linspace. DEfine your x, y with this.
  2. Use meshgrid on x,y to get matrices X, Y.
  3. Substitute X, Y in your formula. You will get Z matrix.
  4. USe surf.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by