Asking about the ''delayss'' function in matlab
2 views (last 30 days)
Show older comments
Hello, I am using the ''delayss'' function to simulate a delayed statespace system. my question is , it is written in the command line after I obtain the system matrices A,B,Cand D that '' (values computed with all internal delays set to zero). does this mean that the resulted statespace matrices don't represent the delay inside the system that I already introduced in the 'delayss' function ?
0 Comments
Accepted Answer
Paul
on 8 Dec 2022
Hi Mohamed,
Not sure if this answers your question, but ...
The state space matrices shown in the output after using delayss at the command line are exactly what the output says they are: the state space matrices of the model assuming the delays are set to zero. But the output also tells you what the delays actually are in the model. And we can see that the delays do affect the output.
DelayT(1) = struct('delay',0.5,'a',0,'b',2,'c',1,'d',0);
DelayT(2) = struct('delay',1.2,'a',-1,'b',0,'c',0,'d',0);
sys = delayss(-1,1,1,0,DelayT)
sysnodelay = ss(-1,1,1,0)
step(sys,sysnodelay)
More Answers (0)
See Also
Categories
Find more on Stability Analysis in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!