photo

Sanuj Shukla


Last seen: mehr als 4 Jahre vor Aktiv seit 2013

Followers: 0   Following: 0

Nachricht

Statistik

MATLAB Answers

7 Fragen
1 Antwort

RANG
122.793
of 300.857

REPUTATION
0

BEITRÄGE
7 Fragen
1 Antwort

ANTWORTZUSTIMMUNG
42.86%

ERHALTENE STIMMEN
0

RANG
 of 21.097

REPUTATION
N/A

DURCHSCHNITTLICHE BEWERTUNG
0.00

BEITRÄGE
0 Dateien

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANG

of 171.361

BEITRÄGE
0 Probleme
0 Lösungen

PUNKTESTAND
0

ANZAHL DER ABZEICHEN
0

BEITRÄGE
0 Beiträge

BEITRÄGE
0 Öffentlich Kanäle

DURCHSCHNITTLICHE BEWERTUNG

BEITRÄGE
0 Discussions

DURCHSCHNITTLICHE ANZAHL DER LIKES

  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


what does it mean by writing [~,idx] in code?
for p= 4:4:population dists= total_dist(rand_pair(p-3:p)); [~,idx]=min(dists); best = routes(idx,:); what idx, ~...

mehr als 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


how can I display number on city locations ?
figure('Name','City Locations','Numbertitle','on'); plot(xy(:,1),xy(:,2),'bo'); ...........

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


I am unable to store values for every iteration, values are overwritten in each iteration.
for p = 4:4:population routes = pop(rand_pair(p-3:p),:); dists = total_dist(rand_pair(p-3:p)); [~,id...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


I want to terminate the program when route distance becomes 75. But in command window program keeps running till the condition of iterations is achieved.
function genetic4() xy =[ 6.9409 0.2259 1.7989 5.2270 3.1137 4.5593 ...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


I want to apply genetic algorithm on given nodes in TSP. How can I choose population and then apply crossover and mutation to get optimum path?
loc = [0.3663, 0.9076; 0.7459, 0.8713; 0.4521, 0.8465; 0.7624, 0.7459; 0.7096, 0.7228; 0.0710, 0.7426; 0.4224, 0.7129; 0.5908,...

fast 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How can I Count no. of objects in a image?
I want to count no. of objects like men (in a group photograph), coins in a image etc. for ex-- http://blogs.mathworks.com/i...

fast 13 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Can anyone suggest me to write a correct and working code for traveling salesman problem using simulated annealing? I got this but there are so many errors:
Instead of using this routine (ie not using uniform distribution or random function) what else can I change in my code to elim...

fast 13 Jahre vor | 0

Frage


Can anyone suggest me to write a correct and working code for traveling salesman problem using simulated annealing? I got this but there are so many errors:
% Travellingsalesman problem % Create random city distribution n=20; x=random('unif',-1,1,n,1); ...

fast 13 Jahre vor | 2 Antworten | 0

2

Antworten