%程序L6_2.m: 迭代盲目去卷积法% clear %制作模糊的图像% [h0,map]=bmpread('L6_2a.bmp'); %读取图像h0 [f0,map]=bmpread('L6_2b.bmp'); %读取图像f0…
FFT+IFFT 源代码
汇集 FFT+IFFT 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
function Z=wbfb(p,q) N=1024; f3db=40; f=-f3db:2*f3db/N:f3db; S=exp(-(1.665*f/f3db).^2); s=ifft(S(1:N)); r=sqrt(s*(gamma(3)…
function Z=dsfb(Rc,Uc) N=1024; f3db=30; f=-f3db:2*f3db/N:f3db; S=exp(-(1.665*f/f3db).^2); s=ifft(S(1:N)); r=log(1+s*(exp(R…
x=[2,3,1,4,5]; h=[2,1,7,4,5,7,2,3]; lenx=length(x); lenh=length(h); N=lenx+lenh-1; xk=fft(x,N); hk=fft(h,N); yk=xk.*hk; y=…
%%%对fft和ifft的验证 clear all; %产生一个正弦信号 N=256; f1=2; fs=20; w=2*pi/fs; n=0:N-1; y=5*sin(w*f1*n); %求fft subplot(411) stem(y…
%----------------------------------------------------------------- % exa040801_fft.m: for example 4.8.1 % to test fft.m dn ifft…
%----------------------------------------------------------------- % exa040801_fft.m: for example 4.8.1 % to test fft.m dn ifft…
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Inverse FFT w.r.t. the second variable % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% …
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Inverse FFT w.r.t. the first variable % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% fun…
%----------------------------------------------------------------- % exa040801_fft.m: for example 4.8.1 % to test fft.m dn ifft…