how to create a state-space model without disturbance

Manuel · Mar 21, 2022 · 2.1K views
Question
how to create a state-space model without disturbance and how does the disturbance influence the solution I would like to identify parameters of an ODE using the system identification toolbox. The sate-space representation in MATLAB is always formulated with a disturbance e, which always influences the solution y due to the equation y = Cx + Dy + e. In my problem, there is no disturbance present. Now, I have two questions: - Of which form is the disturbance e and in which way does it influence the solution (setting K = 0) - Is there the possibility to describe a state-space model in MATLAB without disturbance  
Expert Answer
Profile picture of Kshitij Singh
Kshitij Singh PhD Expert
Answered Aug 29, 2026

The difference between the output of the model and the actual (measured) output is, in general, not going to be zero. So, there will be an error e such that:

 e = ymeasured-ymodel,

where

 ymodel = Cx + Du

which means:

 ymeasured = Cx + Du + e

When you set K = 0 in the idss model, the parameters you get by minimizing |e||| are the ODE coefficients you are interested in. Furthermore, using

 [A, B, C, D] = ssdata(model)

you can extract out the state-space coefficients of the output-reproducing model: xdot = Ax + Bu; y = Cx+du

100% Run Guarantee 3-Hour Fast-Track Delivery

Need a Custom Version or Complete Simulation for This Problem?

Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.

Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here

Get a Free Consultation or a Sample Assignment Review!