Assignment has more non-singleton rhs dimensions than non-singleton subscripts
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!