examp5_24.m

来自「matlab的大量实例代码」· M 代码 · 共 13 行

M
13
字号
prg='c:\spice\spice3.exe '; matd='c:\matlab6p1\work\c5ftri1.';
aout=spice([prg matd 'cir -o ' matd 'out -b -m'],[],[matd,'log']);

plot(aout(:,1),aout(:,2))

tt=aout(:,1); yy=5+sin(1e7*tt);
plot(tt,yy), set(gca,'ylim',[0,6]); i_sig=[tt yy]';

prg='c:\spice\spice3.exe '; matd='c:\matlab6p1\work\c5ftri2.';
aout=spice([prg matd 'cir -o ' matd 'out -b -m'],i_sig,[matd,'log']);
plot(aout(1,:),aout(2,:))
         
         

⌨️ 快捷键说明

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