Statistik
7 Fragen
0 Antworten
RANG
144.670
of 300.853
REPUTATION
0
BEITRÄGE
7 Fragen
0 Antworten
ANTWORTZUSTIMMUNG
42.86%
ERHALTENE STIMMEN
0
RANG
of 21.094
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANG
of 171.319
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
Feeds
Frage
I am using simulated annealing optimization toolbox. I have input a vector x and i want to save vector x at each iteration but it will display x value only at final iteration. How to save value of x at each iteration and display at the output.
x=[1 3 4 5 6 7 2 9] save x at each iteration and display x at all iteration.
mehr als 8 Jahre vor | 1 Antwort | 0
1
AntwortFrage
I have a vector x=[2 3 4 5] and value of x change at each iteration.I want to compare value of x at current iteration with value of x at previous iteration.So how can i store value of x at previous iteration.
eg- for i=1:10 x=[2 3 4 5] x_new=[5 3 2 4]%after some calculation value of x at next iteration compare x with x_new
mehr als 8 Jahre vor | 1 Antwort | 0
1
AntwortFrage
I have a request set of size [ 1 2 3 4 5 6 7 8 9 10] these request demand some bit rate of size [6 5 6 4 7 3 5 5 4 7] .I want to sort these request according to request that demand most bit rate.
In this example sorted request vector be like [5 10 1 3 2 7 8 4 9 6].
mehr als 8 Jahre vor | 3 Antworten | 0
3
AntwortenFrage
I have row vector r=[1 2 3 4 5 6 7 8 9 10] and from this i generate another row vector of size 4 that is z=randperm(10,4) now i want to randomly select a single element from remaining element of r.
r=[1 2 3 4 5 6 7 8 9 10]; z=randperm(10,4);
mehr als 8 Jahre vor | 2 Antworten | 0
2
AntwortenFrage
I have a row vector x which is random permutation of r where r=1:15 .I want to make a program in which whenever value of r is equal to x increase the counter else counter contain previous value.
first check the which element of array is equal to r and the if is equal then increment the count by one.
mehr als 8 Jahre vor | 0 Antworten | 0
0
AntwortenFrage
i am using simulated annealing optimization toolbox matlab and i want to display current function value,best function value and best iteration so far at each iteration of my program.
I want all these parameter to display on command window.
mehr als 8 Jahre vor | 1 Antwort | 0
1
AntwortFrage
how to select two number randomly from an array and perform swapping between these two number?
for example in array A=[1 2 3 5 6 9 10] two number selected randomly are 3 and 6 so after swapping array be like A=[1 2 6 5 3 9...
mehr als 8 Jahre vor | 1 Antwort | 0
