Alessandro Maria Marco
Followers: 0 Following: 0
Feeds
질문
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...
2개월 전 | 답변 수: 2 | 0
2
답변질문
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...
3개월 전 | 답변 수: 1 | 0
1
답변답변 있음
Speed 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...
Speed 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...
4개월 전 | 0
| 수락됨
질문
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...
4개월 전 | 답변 수: 2 | 0
2
답변질문
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...
4개월 전 | 답변 수: 1 | 0
1
답변질문
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...
6개월 전 | 답변 수: 1 | 0
1
답변질문
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...
대략 1년 전 | 답변 수: 2 | 0
2
답변질문
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...
대략 1년 전 | 답변 수: 2 | 0
2
답변질문
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...
1년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
1년 초과 전 | 답변 수: 1 | 0