首页 > 代码库 > free induction decay fourier transform
free induction decay fourier transform
1 % A script for display the process of Fourier Transform of FID 2 % FID stands for Free Induction Decay,which is a signal over time domain.We 3 % can get the signal over frequency through fourier transform.And FID is 4 % one of the most important signal form 5 %function s=s(t,M,T,w) 6 %s=M*exp(-t/T).*cos(w*t); 7 %M=10; 8 %T=1; 9 %w=200*pi;10 T=1;11 N=128;12 t=linspace(0,T,N);13 %s=s(t,M,T,w);14 s=10*exp(-t).*cos(200*pi*t);15 subplot(2,1,1);16 plot(t,s);17 xlabel(‘t‘);18 ylabel(‘signal intensity‘);19 title(‘FID signal in time domain‘);20 dt=t(2)-t(1);21 f=1/dt;22 f=f*(0:N-1)/N;23 S=fft(s);24 subplot(2,1,2);25 plot(f,abs(S));26 xlabel(‘Frequency‘);27 ylabel(‘Amplitude |S(k)|‘)28 title(‘FID over frequency domain through Fourier Transform‘);
free induction decay fourier transform
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。