Tomás Nunes
自 2018 起处于活动状态
Followers: 0 Following: 0
Feeds
提问
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...
6 years 前 | 4 个回答 | 0
4
个回答提问
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 ...
6 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
6 years 前 | 0 个回答 | 0
0
个回答提问
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...
6 years 前 | 0 个回答 | 0
0
个回答提问
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...
6 years 前 | 2 个回答 | 0
2
个回答提问
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...
6 years 前 | 1 个回答 | 0
1
个回答提问
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...
6 years 前 | 0 个回答 | 0