Alessandro D
Followers: 0 Following: 0
Statistics
10 Questions
0 Answers
RANK
19,129
of 295,467
REPUTATION
2
CONTRIBUTIONS
10 Questions
0 Answers
ANSWER ACCEPTANCE
90.0%
VOTES RECEIVED
2
RANK
of 20,234
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 153,912
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
Improve speed of linear interpolation in nested loops
I have to do 1-dimensional linear interpolation many times within 4 nested loops. My X-grid is sorted so I can use interp1q but ...
2 years ago | 1 answer | 1
1
answerQuestion
vectorize nested loops interpolation
I have two nested loops and inside the inner loop I use linear interpolation in one dimension. I would like to vectorize the inn...
2 years ago | 1 answer | 0
1
answerQuestion
Save figures in png format
In order to save a plot in png format I use the following: print(fullfile(FigDir,'firmSize'),FormatFig) where FormatFig='-dpng...
2 years ago | 1 answer | 0
1
answerQuestion
Matlab JIT engine nested loops data type
In the textbook "Matlab programming for engineers" by S.Chapman (4th edition) it is stated that (see pp. 165-166) The JIT compi...
3 years ago | 1 answer | 1
1
answerQuestion
Create table from structure - alignment
I have a structure with scalar fields, say mom, and I would like to display the values of the structure on the screen in aligned...
3 years ago | 2 answers | 0
2
answersQuestion
Optimize the ordering of nested loop for speed
Suppose I have the following code. Will it be faster version 1 or version 2? What changes is the ordering of the two nested loop...
6 years ago | 2 answers | 0
2
answersQuestion
call function - slow
Dear users, I am struggling with optimizing the code for a project of mine and I am following the suggested practice of breaking...
6 years ago | 1 answer | 0
1
answerQuestion
how to search an ordered array/ find bracket
I am trying to write a fast procedure to locate the position of an element in a sorted array. Specifically the function should t...
6 years ago | 1 answer | 0
1
answerQuestion
fzero - how to set maximum number of iterations
Dear users, I am using fzero to find the root of a nonlinear function. I call the routine as x = fzero(fun,x0,options) ...
6 years ago | 1 answer | 0
1
answerQuestion
Functions vs scripts: speed
Dear all, The structure of my code is the following: **** VERSION A************** output = fun1(inputs) Piece ...
6 years ago | 2 answers | 0