Draw a Pumpkin using Matlab
ACMer The halloween is approaching. Mathworks presents the following Matlab code to draw a Pumpkin. Pumpkin sphere ; R mod :. :, . ; x R. X; y R. Y; z Z. R; c hypot hypot x,y ,z randn . ; surf x,y, . : . : ’. . . z,c, ’FaceColor’, ’interp’, ’EdgeColor’, ’none’ ...