genevois pierre
Grenoble-INP
Followers: 0 Following: 0
Statistica
RANK
24.060
of 295.467
REPUTAZIONE
1
CONTRIBUTI
13 Domande
3 Risposte
ACCETTAZIONE DELLE RISPOSTE
92.31%
VOTI RICEVUTI
1
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Domanda
computing a sequence of vectors
the sequence is defined, for i = 1:n, by this vectorial recurrence relation : [A(i+1); B(i+1)] = Q * [A(i); B(i)] + [C; D] wit...
quasi 4 anni fa | 1 risposta | 0
1
rispostaDomanda
how to stop executing a function if its duration is too long ?
Hi, the solve function (applied to a hard problem) still executes after a 30 minutes run ... Can it be stopped by the calling pr...
quasi 4 anni fa | 1 risposta | 0
1
rispostausing symbolic calculus on char strings (coming from a file)
Thank you for your answer ; a warning when using str2sym could mean that this function will be removed in a future version ? How...
quasi 6 anni fa | 0
| accettato
Domanda
using symbolic calculus on char strings (coming from a file)
Hello, I'm currently using str2sym on char strings obtained from fgetl on a text file containing many lines of mathematical expr...
quasi 6 anni fa | 1 risposta | 0
1
rispostaDomanda
behavior of for loop with strings of chars ?
Hi, this for statement for string = ['=A=', '=B=', '=C='] [starts, ends] = regexp(line, string); the ...
circa 6 anni fa | 1 risposta | 0
1
rispostaDomanda
how to replace 'x\d+' by 'X(...same number as \d+ ...)' such as x45 --> X(45) using regexprep ?
Hello, I'm searching for replacing, in a text file, strings having 'x' as only non numeric character at the beginning, followed...
circa 6 anni fa | 1 risposta | 0
1
rispostaDomanda
accessing to some ga's parameters
Hi, I cannot access to some values of parameters of ga as (names = values hereafter) : options_ga.FitnessScalingFcn = @fitsc...
circa 6 anni fa | 0 risposte | 0
0
risposteDomanda
how to count the number of function calls without modifying it by inserting a counter ?
Hi, for example in ga(...), the count of objective function calls is provided, but not that of the constraint function. My unsat...
circa 6 anni fa | 2 risposte | 0
2
risposteDomanda
a test to exclude inf and nans from pinv(...) doesn't work
Hello, having this error : Error using svd Input to SVD must not contain NaN or Inf. Error in pinv (li...
circa 6 anni fa | 1 risposta | 0
1
rispostaconstrained pso : how to set initial population ?
I get the same problem ... probably due to the call to fmincon in psocheckinitialpopulation, line 99.
quasi 8 anni fa | 0
Domanda
constrained pso : how to set initial population ?
hi, i tried options = optimoptions('particleswarm', 'InitialPopulation', tous_xi); where tous_xi contains initial position...
quasi 8 anni fa | 3 risposte | 0
3
risposteDomanda
options_pso.InitialPopulation : how to assign ?
hi, i now get an error when setting options.InitialPopulation = [1,2,3] for example, after having run options=pso . Can you help...
quasi 8 anni fa | 1 risposta | 0
1
rispostaDomanda
constrained pso : Not enough input arguments.
hi, in my code, I use [x, fval, exitflag] = pso(mapse_vu_sd, 7, [], [], [], [], ... lx, ux, mapse_CNL_sd_c) and I g...
quasi 8 anni fa | 1 risposta | 0
1
rispostaRisolto
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
quasi 8 anni fa
Risolto
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
quasi 8 anni fa
Risolto
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
quasi 8 anni fa
What exactly does TolCon do and how is relative max(constraint violation) calculated?
hi, the link in "Tolerances are described here" is not set : could you arrange this ? Thank you.
circa 12 anni fa | 0
Domanda
index of control loop that is a vector component
hi all, in order to make my code more compact, i tried this : for x(1) = lb(1) : d_x(1) : ub(1) for x(2) = lb(2) :...
circa 12 anni fa | 1 risposta | 0
1
rispostaDomanda
How can I extract column vectors from matrix (with large number of columns) ?
Having a lot of columns, this way of extracting from a big matrix named C : temperature = C(:,1); index = C(:,2); ... ...
circa 12 anni fa | 2 risposte | 1