Using ‘surf’ plot the surface f (x, y) =x(x^2+y^2).
Mostra commenti meno recenti
clear
clc
x=-1:.05:1;
y=-1:.05:1;
[x,y]=meshgrid(x,y);
z=x.*(x^2+y^2)
surf(x,y,z);
colormap spring
shading interp
Risposte (1)
Sam Chak
il 17 Apr 2022
I guess it's here:
z=x.*(x.^2 + y.^2);
Categorie
Scopri di più su Surface and Mesh Plots in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!