photo

Alessandro D


Last seen: 2 years 前 自 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 years 前 | 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 years 前 | 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 years 前 | 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...

3 years 前 | 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 years 前 | 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...

6 years 前 | 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...

6 years 前 | 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...

6 years 前 | 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 years 前 | 1 个回答 | 0

1

个回答

提问


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

6 years 前 | 2 个回答 | 0

2

个回答