Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有人能解释一下我必须在我的模型中改变什么吗?
模型
错误消息非常清晰且不言自明。你得到错误的原因是因为Bis 的维度4x2并且你试图做B * Xrwhere Xris 的维度 1。根据你的方程,你需要做B*Uwhere U = [dXr/dt; Xr];。但是,如果可以避免,在 Simulink 中使用导数模块绝不是一个好主意,尤其是在使用阶跃输入的情况下。想想你想如何制定你的状态空间的输入。
B
4x2
B * Xr
Xr
B*U
U = [dXr/dt; Xr];