matlab kmeans clustering using coder generator
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!