要用到FIR滤波器和抽样器下面研究这两个的Matlab实现: Fir滤波器: matlab上fir滤波器的关键字是fir1 在command窗口输入help fir1出现帮助文档: >> help fir1 fir1 FIR filter design using the window method. fir滤波器使用窗函数法设计 B = fir1(N,Wn) designs an N'th order
1.Matlab写入文件 set(hp1,'xdata',bbb(1,:),'ydata',bbb(2,:),'zdata',bbb(3,:)); M=size(bbb,2); name=strcat('laser_',num2str(i),'.txt'); fid=fopen(name,'a+'); for kk =1:M fprintf(fid,'%g %g %g\r\n',bbb(1,kk),bbb(2,kk),bbb(3,kk)); end fclose(fid); 2.强制刷新 dr
实验要求: Reducing the Number of Gray Levels in an Image Objective To understand how the number of gray levels affect the image perceptual quality. Main requirements: Ability of programming with C, C++, or Matlab. Instruction manual: (a) Write a computer