Clear Filters
Clear Filters

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

1 view (last 30 days)
% 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 Comments

Sign in to comment.

Answers (0)

Categories

Find more on Creating and Concatenating Matrices in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!