Community Profile

photo

Alessandro D


Last seen: mehr als ein Jahr vor Aktiv seit 2018

Statistiken

  • First Review
  • Thankful Level 3

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


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

mehr als ein Jahr vor | 1 Antwort | 1

1

Antwort

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


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

fast 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 5 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 6 Jahre vor | 2 Antworten | 0

2

Antworten