The following error appears when i trying to solve this matrix "the matrix A is concatenated are not consistent".to write this matrix in state space Simulink A original given

1 vue (au cours des 30 derniers jours)
  5 commentaires
Cris LaPierre
Cris LaPierre le 27 Mar 2023
Share the code you have written that creates your matrices. Screenshots of the output do not help us see what errors there may be in creating them. Also, please share the full error message (all the red text).

Connectez-vous pour commenter.

Réponses (1)

Walter Roberson
Walter Roberson le 27 Mar 2023
Your row 5 and row 6 involve trig functions applied to yaw such as sin(yaw) . However, your yaw is 1 x 40, not scalar.
You will probably need to loop over your 1 x 40 vectors.
It would be possible, with a small bit of rewriting, to construct a 6 x 6 x 40 array without using a loop, but you would not be able to use the * matrix multiplication operator with such an array. pagemtimes can sometimes help with those kind of operations.

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Tags

Produits


Version

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by