what bsxfun will perform here?
Ältere Kommentare anzeigen
function Ccode = gen_binary_codes(C, K)
U=mean(C,1);
Ccode =zeros(size(C));
Ccode( bsxfun(@gt, C, K*U) )=1;
This is my code. what bsxfun is performing here?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Server Management finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!