How can i plot the Gaussian distribution PSF in 3D?
I used the code
PSF=fspecial('guassian',30,8);figure,imshow(PSF,[])norm=normpdf(PSF,30,8);Y=[0:5:30];Z=[0:5:30];plot3(norm,Y,Z)
On running code error says as Vectors must be same.
3d plotsgaussian blur
PSF=fspecial('guassian',30,8);figure,imshow(PSF,[])norm=normpdf(PSF,30,8);Y=[0:5:30];Z=[0:5:30];plot3(norm,Y,Z)
Best Answer