フィルターのクリア

changing to wavelength domain

2 ビュー (過去 30 日間)
abed
abed 2014 年 2 月 19 日
% hello everyone i have a question : in my small code here, I drawn a Fourier transform function from time to frequency domain but what if I want the Fourier transform not in frequency , but in wavelength where wavelength=2*pi*c/frequency how can i change the scale in the Fourier transform from frequency to wavelength :
t=0:0.1:10;
P0=sqrt(9.6);
Ap=P0.*exp(-.05.*(t/3).^2);
figure
I=fftshift(fft(Ap));
S=I.^2;
plot(abs(S))
xlabel('normalized frequency')
ylabel('spectral intensity')

回答 (0 件)

カテゴリ

Help Center および File ExchangeDiscrete Fourier and Cosine Transforms についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by