Dimensions of matrices being concatenated are not consistent
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Geoff Hayes
le 9 Mar 2019
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?)
Réponses (1)
Geoff Hayes
le 9 Mar 2019
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 commentaires
Voir également
Catégories
En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!