Draw 3D object.write code in 2016a version. Help me,thanks!
    3 views (last 30 days)
  
       Show older comments
    
    tran nguyen
 on 19 Nov 2018
  
    
    
    
    
    Answered: Carlos Guerrero García
      
 on 2 Dec 2022
            z=1-x^2 ,z=0,y=0,y=3
0 Comments
Accepted Answer
  KSSV
      
      
 on 19 Nov 2018
        x = linspace(0,3) ;
y = linspace(0,3) ;
[X,Y] = meshgrid(x,y) ;
Z = 1-X.^2 ;
surf(X,Y,Z)
shading interp 
0 Comments
More Answers (1)
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!

