how to create 3D spherical object ?

3 次查看(过去 30 天)
ajeet verma
ajeet verma 2017-3-27
i have code for peak object that is shown in image matrix form and i want to generate spherical object using 'sphere' function so how to write code for sphere while for peak, code is given below; m=1000; n=1000; % object [x,y,z]=peaks; z=imresize(z,[m,n]); Q=exp(1i*z*2); imshow(z,[]),impixelinfo;

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by