Francis Chabot
Followers: 0 Following: 0
Feeds
질문
Creating a 3D matrix by combination of a 3D matrix and a 2D matrix
Hello community, I'm trying to add data from a 2D matrix to an existing 3D matrix in my code. My 3D matrix is 125x2x20 (125: ...
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
Repeat a cumulative sum in a matrix
Hello, I have matrix of dimensions 2784x252 which represents monthly returns. I am trying to put them into annual returns which...
3년 초과 전 | 답변 수: 2 | 0
2
답변질문
Selecting range of data in a matrix
Hello, I'm trying to create different groups from a matrix of dimensions 2784x1. Data in the matrix range from 0100:9999. From...
3년 초과 전 | 답변 수: 2 | 0
2
답변질문
For loop indexing problem
Hello, I'm trying to use a for loop to be able to create a new matrix much more quickly. The loop is : for ii=1:Nco; for...
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
Selection of logical data
Hello, I have a matrix with this form: 1 156 NaN NaN NaN 1 157 NaN NaN NaN 1 158 1.85185185185185 2.63157894736842 2.0408163...
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
Split a matrix in quintile based on ascending order
Hello, I have a matrix of 2874x26 that I'd like to split into quintile for each of the 26 years. I've tried the quantile functi...
거의 4년 전 | 답변 수: 0 | 0
0
답변질문
Creating a function for median
Hello, I have a code that helps me calculate the median by SIC code that I'd like to modify to be able to use it as a function....
거의 4년 전 | 답변 수: 1 | 0
1
답변질문
Import data from Excel
Hello, I'm trying to input data from Excel by column and when doing it the first data which is suppose to end up in a NaN doesn...
거의 4년 전 | 답변 수: 1 | 0
1
답변질문
Splitting data array into sub arrays
Hi, I want to split the data of an array by the first 2 numbers of each data. This is to split firms by the first 2 digit of the...
거의 4년 전 | 답변 수: 1 | 0