Statistiques
RANG
267 744
of 300 765
RÉPUTATION
0
CONTRIBUTIONS
11 Questions
2 Réponses
ACCEPTATION DE VOS RÉPONSES
81.82%
VOTES REÇUS
0
RANG
of 21 084
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 170 941
CONTRIBUTIONS
0 Problèmes
0 Solutions
SCORE
0
NOMBRE DE BADGES
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
Question
Speed up nested loops with parfor
I'm trying to speed up this part of code. I have a constraint: the inputs of ReturnFn must all be scalars. If it was not for thi...
plus d'un an il y a | 1 réponse | 0
0
réponseVectorize nested loops for performance
I managed to vectorize the code but the vectorized code is faster than the loops only if the number of points on the grid is sma...
plus d'un an il y a | 0
| A accepté
Question
Vectorize nested loops for performance
I have to solve a dynamic programming problem with a finite horizon and I am trying to vectorize as much as possible for speed. ...
plus d'un an il y a | 1 réponse | 0
1
réponseQuestion
fsolve with bound constraints - transformation method
I would like to solve a system of nonlinear equations with bound constraints, i.e. lb<=x<=ub. Matlab suggests to convert the pro...
presque 2 ans il y a | 2 réponses | 0
2
réponsesQuestion
Cubic interpolation coefficients and basis matrix
Suppose I have n data points (x(i),y(i)) with i=1,..,n. I want to compute a cubic interpolant that fits exactly these points (in...
presque 2 ans il y a | 1 réponse | 0
1
réponseSpeed up code by eliminating loop
The vectorized code after eliminating the loop over d is the following. Choose either 'loops' or 'vec' at the beginning of the s...
presque 2 ans il y a | 0
| A accepté
Question
Speed up code by eliminating loop
Dear all, I have to do a maximization of a 3-D array V(e,b,d) over the first-dimension, obtaining something that I call e_opt w...
presque 2 ans il y a | 2 réponses | 0
2
réponsesQuestion
Compute linear interpolant in pp form and find derivative
I would like to compute a linear interpolant in pp-form and then use the function fnder to compute its derivative. [The reason t...
presque 2 ans il y a | 1 réponse | 0
1
réponseQuestion
Bilinear interpolation faster than interp2?
I am doing bilinear intepolation and I am looking for a function that is faster than interp2 or griddedinterpolant. I have found...
environ 2 ans il y a | 1 réponse | 0
1
réponseQuestion
Unpack structure, only some fields
Suppose I have the structure par with fields par.a=3.5; par.b=[4;1.2]; par.c='ale'; I want to create variables b and c such...
presque 3 ans il y a | 2 réponses | 0
2
réponsesQuestion
Parallelize nested loops with parfor
I'm trying to speed up the simulation of some panel data. I have to simulate first over individuals (for ii from 1 to N) and the...
presque 3 ans il y a | 2 réponses | 0
2
réponsesQuestion
parfor nested loop ind2sub
I have three nested loops and I would like to parallelize all of them using parfor. I know that it is not possible to nest a par...
presque 3 ans il y a | 1 réponse | 0
1
réponseQuestion
Speed up vectorized code automatic expansion logical indexing
I have to compute the maximum of a 2-dimensional array repeatedly in a nested loop and I am trying to speed up the code, also us...
environ 3 ans il y a | 1 réponse | 0
