how to find sinusoidal wave form using exponential?

2 visualizzazioni (ultimi 30 giorni)
ajeet verma
ajeet verma il 21 Ago 2017
Modificato: KSSV il 21 Ago 2017
i have a code for sinusoidal fringe pattern but i need wave form my code:
% sinusoidal fringe pattern
m=1000;
n=1000;
f1=20; % No. of vertical fringes
f2=0; % No. of horizontal fringes
for i=1:m
for j=1:n
I(i,j)=exp(1i*(2*pi*(f1*j/n+f2*i/m)));
end
end
imshow(I,[])

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by