Dimensions of matrices being concatenated are not consistent
1 回表示 (過去 30 日間)
古いコメントを表示
Hello,
I am trying to add in a State-Space Block into simulink with the following matrices:
However I recieve the following error whenever i try to apply this:
Where am i going wrong.
2 件のコメント
Geoff Hayes
2019 年 3 月 9 日
Matthew - which matrices are being multiplied together? A is 3x3 and B is 3x1; C is 4x3 and D is 4x1. Do your initial input need to be a 3x1 array? (I'm just guessing here...is this the x in the equations?)
回答 (1 件)
Geoff Hayes
2019 年 3 月 9 日
Matt - from your above description, C is an rxn matrix and D is an rxm matrix where r is the number of outputs. Doesn't this mean that your Initial Outputs must be a 4x1 array?
2 件のコメント
参考
カテゴリ
Help Center および File Exchange で Creating and Concatenating Matrices についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!