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

📄 examp17.m

📁 ADSP TOOLBOX: Version 2.0 and gui m-files
💻 M
字号:

clc,echo on 
%EXAMPLE 17 
h=ilt('tf',2,[1 2])                     % Symbolic Impulse Response
h1=sysresp1('s',2,[1 2])                % Same using sysresp1
w=sysresp1('s',2,[1 2],[1 0 0 0 0])     % Symbolic step response
ya =sysresp1('s',2,[1 2],[2 3 0 0 0],4) % response to exponential input 
yb =sysresp1('s',2,[1 2],[1 0 0 3 0])   % response to sinusoid
t=0:0.01:5;                             % create time index 
plot(t,eval(h1)),pause(2)               % evaluate impulse response and plot
plot(t,eval(w))                         % evaluate step response and plot
echo off %end of example

⌨️ 快捷键说明

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