Is it possible to do this without for cycle?
古いコメントを表示
T = zeros(M,K);
for k = 1:K
T(Y==k,k) = 1;
end
1 件のコメント
Birdman
2018 年 3 月 19 日
Share your entire code.
採用された回答
その他の回答 (1 件)
Walter Roberson
2018 年 3 月 19 日
0 投票
カテゴリ
ヘルプ センター および File Exchange で C2000 Microcontroller Blockset についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!