i have to find 1000 E matrix of order (12,1)? why am i getting all 999 matrixes of E empty?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Deepesh Kumar Gupta
am 3 Okt. 2021
Kommentiert: Deepesh Kumar Gupta
am 3 Okt. 2021
% Calculation of Y
N=1000;
E=cell(1,N);
Y=zeros(12,1);
for i=1:N
for k=1:12
Y(k,1)=(C{i}(k))\(B{i}(k));
end
end
E{i}=Y;
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Loops and Conditional Statements 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!