matlab kmeans clustering using coder generator
10 ビュー (過去 30 日間)
古いコメントを表示
I'm trying to figure out how the matlab coder generates its code for matlab kmeans function. My line of matlab code:
"[idx,C,sumd,D] = kmeans(gridIn,nQuads,'MaxIter',100,'Replicates',3)"
Was generated into c++ code as follows:
kmeans(b_gridIn, nQuads, b_idx, C, sumd, D);
My problem is not with the implemantation of the function but rather where did my arguments disappear to? The left part of arguments list ('MaxIter',100,'Replicates',3) doesn't appear in the c++ code.
Does anyone know how many iterations the c++ code does? are there any built in replicates?
Thanks a lot for your help,
Ariel
0 件のコメント
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!