Community Profile

photo

Adam Pigon


Last seen: 2 years ago Active since 2016

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


Speeding up (vectorizing) barycentric interpolation
Dear All, I have the following problem: is it possible to speed up the barycentric interpolation given below? I presume that ve...

4 years ago | 0 answers | 0

0

answers

Question


Speeding up nested for-loops when vectorization seems to fail
Dear All, I have the following problem. There are relatively simple operations of barycentric interpolation in a large, multi-d...

4 years ago | 2 answers | 1

2

answers

Question


Interpolation with NaN: how to interpolate a vector so it DOES contract the NaN
Dear All, I have the following problem: There are the following vectors: a = [-1, 0.15, 0.7, 0.9, 1.1, 1.98, NaN, NaN, ...

6 years ago | 1 answer | 0

1

answer

Question


Using matrix index coming from max function to get values from another matrix
Dear All, I have the following problem: A = randn(5,5); B = randn(5,5); C = randn(5,5); D = cat(3,A,B,C); ...

6 years ago | 1 answer | 0

1

answer

Answered
Speeding up algebraic operations ( .* and .^ )
Dear All, thank you for all your comments. Obviosuly they speed up the code. The results are not as spectacular as a ten-fold de...

6 years ago | 0

Question


Speeding up algebraic operations ( .* and .^ )
Dear All, I have the following problem: I perform some basic algebraic operations on a set of matrices that are quite big and t...

6 years ago | 2 answers | 0

2

answers

Question


Solving a single non-linear equation given by a vector of values and having a lot of parametrs efficiently.
Dear All, I have the following problem: I have an equation f(x,a,b,c,d,e) = 0, where x is a variable and other letters represen...

7 years ago | 0 answers | 0

0

answers

Question


Differing computing time for simple algebraic operations
Dear All, I have the following code: clc % parameters and exogenous grids t = 1; T =...

7 years ago | 1 answer | 0

1

answer

Question


Using interp1 multiple times to find a root : interp1 on a matrix without loops. Using interp1 multiple times for different values of query points without loops.
Dear All, I have the following problem: I have a vector of arguments x and a vector of values v (both are monotonic; the roo...

7 years ago | 1 answer | 0

1

answer

Question


Anonymous function returning either NaN or a real number depending if the input is a scalar or an element of a vector
I have the following problem: I have created a function f(a,b,c), where b and c are scalars and a is a vector, a = [1 2 3 4 5]...

7 years ago | 0 answers | 0

0

answers

Question


Vectorizing fsolve: how to use fsolve on matrices instead of loops with parameters
Dear All, is it possible to solve with fsolve an equation with 5 parameters using matrices instead of 5 for loops iterating on ...

8 years ago | 1 answer | 0

1

answer