⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 zz3.m

📁 信号实验常用的simulink模型和mfile,可直接在matlan下运行。
💻 M
字号:
r=[0:1/255:1]';
g=[0:1/255:1]';
b=[0:1/255:1]';
map=[r g b];
hf_2=figure('colormap',map);
set(hf_2,'menubar','none',...
         'name','图像处理系统',...
         'color',[.6 .7 .8],...
         'numbertitle','off')
      axis off           
subplot(2,3,2),image(pout),axis off
a=abs(fft2(pout));
x=abs(ifft2(a));
c=angle(fft2(pout));
d=7000*(exp(c*i));
y=abs(ifft2(d));
e=abs(fft2(trees));
f=e.*(exp(c*i));
z=abs(ifft2(f));
hc_1=uicontrol(gcf,'position',[100 180 100 25],...
                   'string','取模,相位置0',...
                   'callback',[...
                      'subplot(2,3,3),image(x),axis off']);
hc_2=uicontrol(gcf,'position',[100 140 100 25],...
                   'string','取相位,模置1',...
                   'callback',[...
                      'subplot(2,3,5),image(y),axis off']);
hc_3=uicontrol(gcf,'position',[100 100 100 25],...
                   'string','取相位,任意模',...
                   'callback',[...
                      'subplot(2,3,6),image(z),axis off']);
hc_4=uicontrol(gcf,'position',[100 60 100 25],...
                   'string','返      回',...
                   'callback','close,zz1');

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -