![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/174271/image.jpeg)
How does this matlab function works?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Priya
am 27 Jan. 2014
Kommentiert: Azzi Abdelmalek
am 27 Jan. 2014
If I give an input delay of 0.1350 to the state space system, it doesn't make any difference to the system's response
ss_model=ss(A,B,C,D,'InputDelay',0.1350)
Someone please explain how this function works or in what cases, this function fits in exactly.
0 Kommentare
Akzeptierte Antwort
Azzi Abdelmalek
am 27 Jan. 2014
Bearbeitet: Azzi Abdelmalek
am 27 Jan. 2014
This is not true
%-----------------model without delay-----------
A=[-11 1;-10 0];B=[0;1];C=[1 0];D=0;
ss_model1=ss(A,B,C,D)
subplot(2,1,1);
step(ss_model1)
%-----------------model wit delay----------------
retard=2
subplot(2,1,2);
ss_model2=ss(A,B,C,D,'InputDelay',retard)
step(ss_model2)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/174271/image.jpeg)
2 Kommentare
Azzi Abdelmalek
am 27 Jan. 2014
Look at this MIMO system
A=[-11 1;-10 0];
B=[0 0;1 1];
C=[1 0;0 1];
D=zeros(2);
ss_model1=ss(A,B,C,D)
ss_model1.InputDelay(2)=2 % delay the second input
step(ss_model1)
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!