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

📄 three.m

📁 matlab的一些基础程序
💻 M
字号:
%c) x(n)=cos(0.04*pi*n)+0.2*w(n); 0<=n<=50
%
switch  b 
    case  'ab'
        clc,clf 
       subplot('Position',    [0.1 0.3 0.8 0.6])
m2=uicontrol(gcf,'style','pushbutton','string','上一题','fontsize',18,'units','normalized','position',...
    [0.1 0.1 0.2 0.1],'foregroundcolor','r','backgroundcolor','b','callback','two');
m3=uicontrol(gcf,'style','pushbutton','string','回目录','fontsize',18,'units','normalized','position',...
    [0.4 0.1 0.2 0.1],'foregroundcolor','r','backgroundcolor','b','callback','abc');
m3=uicontrol(gcf,'style','pushbutton','string','下一题','fontsize',18,'units','normalized','position',...
    [0.7 0.1 0.2 0.1],'foregroundcolor','r','backgroundcolor','b','callback','one');
        
    case  '1'    
      figure;
end
n=[0:50];
x=cos(0.04*pi*n) + 0.2*randn(size(n));
stem(n,x);title('Sequence in Example 3.1c');
xlabel('n'); ylabel('x(n)');axis([0,50,-1.4,1.4]);
%

⌨️ 快捷键说明

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