Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
% 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 comentarios
Walter Roberson
Walter Roberson el 24 de Mzo. de 2021
Attach Untitled5.m as a file so we can see exactly how it looks internally.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by