Is it possible to do this without for cycle?
Afficher commentaires plus anciens
T = zeros(M,K);
for k = 1:K
T(Y==k,k) = 1;
end
1 commentaire
Birdman
le 19 Mar 2018
Share your entire code.
Réponse acceptée
Plus de réponses (1)
Walter Roberson
le 19 Mar 2018
0 votes
Catégories
En savoir plus sur Thermal Analysis dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!