My matrix is bigger than it should be, can't understand why.

1 Ansicht (letzte 30 Tage)
Chris Camilli
Chris Camilli am 17 Jul. 2014
Beantwortet: Arief Anbiya am 17 Jul. 2014
I can't figure out why my B matrix is giving me a 33 x 1 matrix instead of a 6 x 1. When I change x to a single value, the code works.
  1 Kommentar
Image Analyst
Image Analyst am 17 Jul. 2014
Please paste your code so that it's easier to see, or better yet, attach the m-file.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Arief Anbiya
Arief Anbiya am 17 Jul. 2014
Well matrix B should be 33 x 1, since you define B as :
B = [0, Ay, 0, Tbe, 0, Tcog];
Ay, Tbe, and Tcog have size (10 x 1). the components of Tbe and Tcog are components of Ay or P multiple by a constant.

Kategorien

Mehr zu Data Type Identification finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by