Prev: Regarding xlswrite() function.
Next: output selected number of rows of a sparse matrix to a text file?
From: Nimeria R on 1 Mar 2010 13:30 Hi, have a doubt. I want to calculate a FFT with a scale factor and I don't know how to do it with Matlab. For example this case: f=100; landa=0.523; N=1000; k=2*pi/landa; x=-N/2+1:N/2; y=-N/2+1:N/2; [xx,yy]=mesh(x,y); im1=ones(N,N); obj=exp(i*k*(xx.^2+yy.^2); im2=im1.*obj; %% And I want to calculate the FFT of the im2 but with a factor scale of 1/(landa*f) Thank you!
From: Nimeria R on 2 Mar 2010 05:45
"Matt J " <mattjacREMOVE(a)THISieee.spam> wrote in message <hmh3i6$8s9$1(a)fred.mathworks.com>... > "Nimeria R" <nimeria(a)hotmail.es> wrote in message <hmh143$han$1(a)fred.mathworks.com>... > > > > > %% And I want to calculate the FFT of the im2 but with a factor scale of 1/(landa*f) > > > help fft > help fft2 Sorry, but I can't see it in Matlab help. |