Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
fourier transform

Subject: fourier transform

From: sonia

Date: 21 Aug, 2010 12:43:04

Message: 1 of 1

Hello,
I am trying to simulate the next equation : (this is the output energy of the fresnel diffractive system)
%%%%
YY(x,y )=exp[1iH*(x^2+y^2)] *int (int ( t(x',y ')× exp[1iA*( x'^2 + y'^2)] ×exp[-1iB*(xx' + yy')] ))dx'dy'
%%%
Where A, B and H are a given fonction.

I have do the first part of this equation :
YY(X,y)=exp[1iH*(x^2+y^2)]

%%%%
> delta=0.2;
> f=(0:199)*delta+f0;
> H(1:199)=f(1:199).*D(1:199)./B(1:199);
> YY=0;
> squares=(1:N).^2;
> MN=bsxfun(@plus,squares.',squares);
> for i=2:200
> YY=YY+exp(1j*H(i-1).*MN);
> end
> imshow(YY)
%%%

and I need your help to simulate the second part, which correspond to the fft2 of the equation

I can't use fft2 function??

Big thanks for taking a time to help me
sonia

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us