how to find sinusoidal wave form using exponential?

1 Ansicht (letzte 30 Tage)
ajeet verma
ajeet verma am 21 Aug. 2017
Bearbeitet: KSSV am 21 Aug. 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,[])

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by