Draw 3D object.write code in 2016a version. Help me,thanks!

 採用された回答

KSSV
KSSV 2018 年 11 月 19 日

1 投票

x = linspace(0,3) ;
y = linspace(0,3) ;
[X,Y] = meshgrid(x,y) ;
Z = 1-X.^2 ;
surf(X,Y,Z)
shading interp

カテゴリ

質問済み:

2018 年 11 月 19 日

回答済み:

2022 年 12 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by