i keep getting an error in my code about my array. pls help . code and error below thank you
Ältere Kommentare anzeigen

2 Kommentare
Walter Roberson
am 31 Okt. 2019
We have no information about the size of x, xold,vold, aold, xtip1, xorig1, xtip2, xorig2, U, T, Us, Up, E, or R1 .
alexis cordova
am 31 Okt. 2019
Antworten (1)
CAM
am 31 Okt. 2019
0 Stimmen
When you are concatenating horizontally, the number of rows must be consistent. According to your comment, all variables are 1x1, but R1 is 2x2. Thus R1 is causing the error. Either change R1 to a single row, or put the variables into a cell array, which will allow for the different variable sizes.
Why are you taking the tranpose of scalers (xold', vold', ...) ?
3 Kommentare
alexis cordova
am 31 Okt. 2019
alexis cordova
am 31 Okt. 2019
Walter Roberson
am 31 Okt. 2019
R1(:).' converts the 2 x 2 into 1 x 4
Kategorien
Mehr zu Polynomials finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!