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

1 回表示 (過去 30 日間)
tran nguyen
tran nguyen 2018 年 11 月 19 日
回答済み: Carlos Guerrero García 2022 年 12 月 2 日
z=1-x^2 ,z=0,y=0,y=3

採用された回答

KSSV
KSSV 2018 年 11 月 19 日
x = linspace(0,3) ;
y = linspace(0,3) ;
[X,Y] = meshgrid(x,y) ;
Z = 1-X.^2 ;
surf(X,Y,Z)
shading interp

その他の回答 (1 件)

Carlos Guerrero García
Carlos Guerrero García 2022 年 12 月 2 日

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by