This example shows how to obtain impulse response data and plots for a multi-input, multi-output (MIMO) model using impulse
. You can use the same techniques to obtain other types of time-domain responses of MIMO models.
Create a MIMO model and plot its response to a t
= 0 impulse at all inputs.
H = rss(2,2,2); H.InputName = 'Control'; H.OutputName = 'Temperature'; impulse(H)
impulse
plots the response of each output to an impulse applied at each input. (Because rss
generates a random state-space model, you might see different responses from those pictured.) The first column of plots shows the response of each output to an impulse applied at the first input, Control(1)
. The second column shows the response of each output to an impulse applied at the second input, Control(2)
.
Calculate the impulse responses of all channels of H
, and examine the size of the output.
[y,t] = impulse(H); size(y)
ans = 1×3
207 2 2
The first dimension of the data array y
is the number of samples in the time vector t
. The impulse
command determines this number automatically if you do not supply a time vector. The remaining dimensions of y
are the numbers of outputs and inputs in H
. Thus, y(:,i,j)
is the response at the i
th output of H
to an impulse applied at the j
th input.
Matlabsolutions.com provides guaranteed satisfaction with a
commitment to complete the work within time. Combined with our meticulous work ethics and extensive domain
experience, We are the ideal partner for all your homework/assignment needs. We pledge to provide 24*7 support
to dissolve all your academic doubts. We are composed of 300+ esteemed Matlab and other experts who have been
empanelled after extensive research and quality check.
Matlabsolutions.com provides undivided attention to each Matlab
assignment order with a methodical approach to solution. Our network span is not restricted to US, UK and Australia rather extends to countries like Singapore, Canada and UAE. Our Matlab assignment help services
include Image Processing Assignments, Electrical Engineering Assignments, Matlab homework help, Matlab Research Paper help, Matlab Simulink help. Get your work
done at the best price in industry.