Azzera filtri
Azzera filtri

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

1 visualizzazione (ultimi 30 giorni)
% 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 Commenti
Walter Roberson
Walter Roberson il 24 Mar 2021
Attach Untitled5.m as a file so we can see exactly how it looks internally.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Creating and Concatenating Matrices in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by