matlab kmeans clustering using coder generator
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!