📄 z.m
字号:
% x1=[2 1 1 2];x2=[1 -1 -1 1];
% subplot(321)
% stem(circonvt(x1,x2,4))
% hold on
% plot(circonvt(x1,x2,4),'r')
%
% subplot(322)
% stem(conv(x1,x2))
% hold on
% plot(conv(x1,x2),'r')
%
% subplot(323)
% stem(circonvt(x1,x2,7))
% hold on
% plot(circonvt(x1,x2,7),'r')
%
%
% subplot(324)
% stem(conv(x1,x2))
% hold on
% plot(conv(x1,x2),'r')
% subplot(325)
% stem(circonvt(x1,x2,8))
% hold on
% plot(circonvt(x1,x2,8),'r')
%
%
% subplot(326)
% stem(conv(x1,x2))
% hold on
% plot(conv(x1,x2),'r')
%
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','abc');
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','five');
case '1'
figure;
end
plot(sin(1:0.1*pi:10))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -