How can I define a state space model with disturbance variables in Matlab?
49 views (last 30 days)
Show older comments
I want to define a state space model with disturbance variables d(t)
I have the matrices values (A,B,D,C,D,E,F) but the state space Matlab function just includes A,B,C and D matrices (sys = ss(A,B,C,D)) but not E and F (which corresponds to disturbances). How can I include those disturbances in my system?
3 Comments
NEELAMSETTI KIRN KUMAR 17PHD0075
on 23 Jan 2021
i have a query for the above question
how to convert the statespace model with distrubance to transfer function.
I have the matrices values (A,B,D,C,D,E,F)
can you help
John
on 25 Feb 2023
I'm not sure I follow. K is set as a matrix mapping, no? How does adding K allow inputting d(t), which is a time-series?
Answers (1)
Justin Matt
on 23 Jul 2021
You could augment the B,D and u matrices and then drop out the distrubance terms:
B_new = [B, E]
u_new = [u; d]
D_new = [D F]
Alternatively you could make a block diagram state space model in Simulink following the typical structure and adding your extra terms where necessary
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!