![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1631211/image.png)
How to add a disturbance in a state-space model? in Simulink
30 次查看(过去 30 天)
显示 更早的评论
When you have the linear model ẋ=Ax+bu+ep, y=cx+dy+fe.
With c=(1 0), d=0, f=0
0 个评论
回答(1 个)
MULI
2024-2-29
Hey Aylinne,
If you are planning to add disturbance to the existing state space model, augment the matrices B, D in the “State-Space” block as follows:
B= [B E];
D= [D F];
And while giving inputs use a “Mux” to give input and the disturbance.
Here I am attaching the screenshot regarding its implementation in Simulink.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1631211/image.png)
Also, you may refer to this answer which addresses the similar query.
Hope this answer calrifies your query!
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!