Is it possible to do this without for cycle?
Ältere Kommentare anzeigen
T = zeros(M,K);
for k = 1:K
T(Y==k,k) = 1;
end
1 Kommentar
Birdman
am 19 Mär. 2018
Share your entire code.
Akzeptierte Antwort
Weitere Antworten (1)
Walter Roberson
am 19 Mär. 2018
0 Stimmen
Kategorien
Mehr zu Thermal Analysis finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!