How do I plot this?

1 次查看(过去 30 天)
Vanessa Andrade
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 CenterFile Exchange 中查找有关 Surface and Mesh Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by