- 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 view (last 30 days)
Show older comments
y = x^2 + y^2
0 Comments
Accepted Answer
KSSV
on 6 Nov 2020
There is no z involved in your equation. This is your home work, so follow the below hints.
0 Comments
More Answers (0)
See Also
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!