Ant Colony Optimization and edge detection explanation request.
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Sir, I referred your program for edge detection using Ant Colonly Optimization. There are some functions that I couldnt understand. I request you to please explain the following code??
rand('state', sum(clock));
temp = rand(ant_total_num, 2);
ant_pos_idx(:,1) = round(1 + (nrow-1) * temp(:,1));
ant_pos_idx(:,2) = round(1 + (ncol-1) * temp(:,2));
0 Kommentare
Antworten (1)
Image Analyst
am 4 Okt. 2012
Which function, rand(), sum(), or round() do you not understand, even after looking it up in the help?
0 Kommentare
Siehe auch
Kategorien
Mehr zu Particle Swarm finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!