matlab kmeans clustering using coder generator
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
Réponses (0)
Catégories
En savoir plus sur k-Means and k-Medoids Clustering 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!