Feeds
질문
Substracting matrix with NaN values
I have 4 matrix A, B, C and D. All matrix have NaN values, and matrix C and D have a lot of NaN values. Now I want to take A and...
거의 8년 전 | 답변 수: 2 | 0
2
답변질문
Sort stocks into portfolios based on two characteristics
I have 3 matrix with the dimension 235x7690. The 235 represent months, the first month is june 1995, and 7690 are the number of ...
거의 8년 전 | 답변 수: 1 | 0
1
답변질문
Create new matrix based on an existing one
I have a big matrix. Now I want to create a new matrix that takes the first value in each column and changes the following 11 va...
거의 8년 전 | 답변 수: 1 | 0
1
답변질문
Replace values in a matrix below 1% and above 99%
I have a big Matrix. In the Matrix I have a lot of values but also some NaN. Now £I want to replace all values that are below 1%...
거의 8년 전 | 답변 수: 1 | 0
1
답변질문
change equal values in a column to nan
I have matrix with several columns and rows. Most of the columns are like (1.02 1.05 1.03 1.04 1.04 1.04 1.04 .. 1.04). No I wou...
거의 8년 전 | 답변 수: 1 | 0
1
답변질문
How to put dates on de x-axis
I have a vector with different values. I want to plot it and that on the x axis the dates appear. I don't have any vectors with ...
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
Add various horizontal lines to a plot
How can I add various horizontal lines to a plot? I have a plot and now I want to add several horizontal lines. I would like to...
8년 초과 전 | 답변 수: 3 | 2
3
답변질문
Delete all values in a row after the first value
Hi everyone I have a matrix with 3000 rows and 4 columns. the values in the matrix are just one and zero. The sum of each row...
8년 초과 전 | 답변 수: 2 | 0
2
답변질문
I have a dummy vector with 5000 rows and 1 column . I have some single 1 in this vector. No I want to change all 0 before the 1 to 1 and also change the 3 following 0 after the 1 to 1. But I don't know how. Could someone help me?Thank you a lot.
In gener i would like to change 0 0 1 0 0 0 0 to 0 1 *1* 1 1 1 0
8년 초과 전 | 답변 수: 3 | 0