필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
% 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
Walter Roberson
Walter Roberson 2021년 3월 24일
Attach Untitled5.m as a file so we can see exactly how it looks internally.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by