Assignment has more non-singleton rhs dimensions than non-singleton subscripts
조회 수: 1 (최근 30일)
이전 댓글 표시
Reh=zeros(length (Dd),N1);
Rec=zeros(length (Dd),N1);
for i=1:1:N1
for j=1:1:length(Dd)
Reh(j,i)=(dh(i)*vh*Dh(j))/uh(i);
Rec(j,i)=(dc(i)*vc*Dc(j))/uc(i);
end
end
There are two variable. I think I missed to properly initialised the Rec and Reh matrix.
Could you please help me to know how to initialized matrix.
Its showing error" Assignment has more non-singleton rhs dimensions than non-singleton subscripts"
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!