![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/27620754_1663843881137_DEF.jpg)
Alessandro Maria Marco
Followers: 0 Following: 0
Statistics
RANK
213.844
of 293.595
REPUTATION
0
CONTRIBUTIONS
11 Questions
2 Answers
ANSWER ACCEPTANCE
81.82%
VOTES RECEIVED
0
RANK
of 20.050
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 149.446
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF 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...
23 dagen ago | 0 answers | 0
0
answersVectorize 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...
3 maanden ago | 0
| accepted
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. ...
3 maanden ago | 1 answer | 0
1
answerQuestion
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...
6 maanden ago | 2 answers | 0
2
answersQuestion
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...
7 maanden ago | 1 answer | 0
1
answerSpeed 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...
8 maanden ago | 0
| accepted
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...
8 maanden ago | 2 answers | 0
2
answersQuestion
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...
8 maanden ago | 1 answer | 0
1
answerQuestion
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...
10 maanden ago | 1 answer | 0
1
answerQuestion
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...
meer dan een jaar ago | 2 answers | 0
2
answersQuestion
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...
meer dan een jaar ago | 2 answers | 0
2
answersQuestion
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...
meer dan een jaar ago | 1 answer | 0
1
answerQuestion
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...
bijna 2 jaar ago | 1 answer | 0