photo

Tomás Nunes


Active since 2018

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


Replace NaN with mean of previous values
Hello, I have a vector that contains some Nan's. How can I replace them with a mean of the previous 5 values? This is what I ha...

meer dan 6 jaar ago | 4 answers | 0

4

answers

Question


Create cell array or 3D matrix
I am trying to populate a 125x32 cell array with regression residuals over previous 30-day returns. I have a matrix called sig1 ...

meer dan 6 jaar ago | 1 answer | 0

1

answer

Question


Populate cell array with regression residuals using for loop and if statement
I am trying to populate a 125x32 cell array with regression residuals over previous 30-day returns. I have a matrix called sig1 ...

meer dan 6 jaar ago | 0 answers | 0

0

answers

Question


Major regression loop for residuals
Hi. I have a 7567x32 matrix with returns and another one with signals, such as 1, -1 and 0. I am supposed to compute a regressio...

meer dan 6 jaar ago | 0 answers | 0

0

answers

Question


reorganize two related matrices in ascending order
I have two matrices, one with -1 and 1's and another with returns that are related to the number in the previous matrix. However...

meer dan 6 jaar ago | 2 answers | 0

2

answers

Question


Populate matrix with non-zero elements from previous matrix
I have a 7567*32 matrix in which every row has 4 non-zero elements and the rest are zeros. I want to create a 7567*4 matrix that...

meer dan 6 jaar ago | 1 answer | 0

1

answer

Question


Why do I have different result through ans key?
I am trying to compute maximum drawdowns within a vector, but the for loop gives me wrong results. Basically I have a vector ca...

meer dan 6 jaar ago | 0 answers | 0

0

answers