Community Profile

photo

Alessandro D


Last seen: 1년 초과 전 2018년부터 활동

Followers: 0   Following: 0

통계

  • First Review
  • Thankful Level 3

배지 보기

Feeds

보기 기준

질문


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년 전 | 답변 수: 1 | 1

1

답변

질문


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년 전 | 답변 수: 1 | 0

1

답변

질문


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년 전 | 답변 수: 1 | 0

1

답변

질문


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...

2년 초과 전 | 답변 수: 1 | 1

1

답변

질문


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년 전 | 답변 수: 2 | 0

2

답변

질문


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...

5년 초과 전 | 답변 수: 2 | 0

2

답변

질문


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...

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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...

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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년 전 | 답변 수: 1 | 0

1

답변

질문


Functions vs scripts: speed
Dear all, The structure of my code is the following: **** VERSION A************** output = fun1(inputs) Piece ...

거의 6년 전 | 답변 수: 2 | 0

2

답변