?? gui_conv1.m
字號:
clear, close all
H1=axes('unit','normalized','position',[0.05,0.69,0.6,0.2]);
%set(gcf, 'currentaxes' ,H1);
str= '\fontname{ 隸書 } The input signal x(t) ' ;
text(0.2,1.2,str, 'fontsize' ,12);
h1_fig=get(H1, 'parent' );
h1_text=uicontrol(h1_fig, 'style' , 'text' , ...
'unit' , 'normalized' , 'position' ,[0.67,0.79,0.12,0.04], ...
'horizontal' , 'left' , 'string' ,{ 'Type in x(t)' });
h1_edit=uicontrol(h1_fig, 'style' , 'edit' , ...
'unit' , 'normalized' , 'position' ,[0.67,0.74,0.28,0.04], ...
'horizontal' , 'left' , ...
'callback' ,[ ...
'z1=str2num(get(gcbo,''string''));',...
'aa']);
%U==========================================================================
H2=axes('unit','normalized','position',[0.05,0.37,0.6,0.2]);
set(gcf, 'currentaxes' ,H2);
str= '\fontname{ 隸書 } The impulse response h(t) ' ;
text(0.2,1.2,str, 'fontsize' ,12);
h2_fig=get(H2, 'parent' );
%U==========================================================================
h2_text=uicontrol(h2_fig, 'style' , 'text' , ...
'unit' , 'normalized' , 'position' ,[0.67,0.49,0.12,0.04], ...
'horizontal' , 'left' , 'string' ,{ 'Type in h(t)' });
h2_edit=uicontrol(h2_fig, 'style' , 'edit' , ...
'unit' , 'normalized' , 'position' ,[0.67,0.44,0.28,0.04], ...
'horizontal' , 'left' , ...
'callback' ,[ ...
'z2=str2num(get(gcbo,''string''));' , ...
'bb']);
%U==========================================================================
H3=axes('unit','normalized','position',[0.05,0.05,0.6,0.2]);
set(gcf, 'currentaxes' ,H3);
str= '\fontname{ 隸書 } The output signal y(t) ' ;
text(0.2,1.2,str, 'fontsize' ,12);
h3_fig=get(H3, 'parent' );
h_push1=uicontrol(h3_fig, 'style' , 'push' , ...
'unit' , 'normalized' , 'position' ,[0.67,0.05,0.12,0.15], ...
'string' , 'START' , 'callback' ,[ ...
'cc' ]);
%U==========================================================================
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -