How can I define a state space model with disturbance variables in Matlab?

49 views (last 30 days)
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
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
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?

Sign in to comment.

Answers (1)

Justin Matt
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

Categories

Find more on Modeling 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!