National Instruments 370753C-01 Manual De Usuario

Descargar
Página de 157
Chapter 4
System Analysis
4-12
ni.com
Figure 4-3.  System Time Response to a Series of Step Signals
The (system)*(PDM) construct for performing time-domain simulation 
is used analogously no matter how many inputs the system has. For a 
multi-input, multi-output system, the number of rows of the input PDM 
must match the number of inputs of the system. For an example of general 
time-domain simulation for a MIMO system, refer to Example 4-6.
Example 4-6
General Time-Domain Simulation for a MIMO System
sys = system([0,1,0;0,0,1;-2,-4,-3],
[0,1;1,0;-1,1],[0,1,-1;1,2,1],[]);
u = pdm([sin(-3*pi:0.01:3*pi);
cos(-3*pi:0.01:3*pi)],{rows=2,columns=1});
y = sys*u;