Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
How to overcome this error?
조회 수: 1 (최근 30일)
이전 댓글 표시
Error using vertcat
Dimensions of arrays being concatenated are not consistent.
Error in smoothmod (line 55)
RHOar = [RHOar.'; 0];
댓글 수: 0
답변 (2개)
Sudhakar Shinde
2020년 10월 13일
%Example:
a=[1 2 3 4]
B= [a;0]
%This throws an eroor as you mentioned
%Correct concatenation
B=[a,0]
%or
B=[a';0]
댓글 수: 1
Sudhakar Shinde
2020년 10월 13일
if this throws error :
RHOar = [RHOar'; 0];
you could try:
RHOar = [RHOar; 0];
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!