Filter löschen
Filter löschen

Error using vertcat Dimensions of arrays being concatenated are not consistent.

1 Ansicht (letzte 30 Tage)
% Jacobian matrix
J =[cross(Z_hatB_1,P_B_E1) ,cross(Z_hatB_2,P_B_E2), cross(Z_hatB_3,P_B_E3) ,
cross(Z_hatB_4,P_B_E4) , cross(Z_hatB_5,P_B_E5) , cross(Z_hatB_6,P_B_E6) ,
cross(Z_hatB_7,P_B_E7);
Z_hatB_1 ,Z_hatB_2 ,Z_hatB_3 ,Z_hatB_4 ,Z_hatB_5 ,Z_hatB_6
,Z_hatB_7 ]
Im getting the below error:
Error using vertcat
Dimensions of arrays being concatenated are not consistent.
Error in Untitled5 (line 107)
J =[cross(Z_hatB_1,P_B_E1) ,cross(Z_hatB_2,P_B_E2), cross(Z_hatB_3,P_B_E3) ,
  3 Kommentare
Walter Roberson
Walter Roberson am 24 Mär. 2021
Attach Untitled5.m as a file so we can see exactly how it looks internally.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by