Help for vectorization??
古いコメントを表示
incI=zeros(length(featInd),length(tempInd));
for f = 1:length(featInd)
incI(f,:) = tempInd + featInd(f);
end
for k=1:length(featInd)
h([incI(k,:)]') = h([incI(k,:)]')+ 1;
end
2 件のコメント
jgg
2016 年 1 月 26 日
You need to provide more information. What is h? What is featInd? What is tempInd? How are they structured?
Parag Patil
2016 年 1 月 26 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!