Feeds
질문
How can I create a column vector by taking only the maximum values from each three values of another column matrix?
Hello This is only an example, say that I have a column vector of 99 rows contains number 1 to 99 such as c=[1:99]'. Now I nee...
9년 초과 전 | 답변 수: 0 | 0
0
답변질문
How can I insert missing rows in a matrix
Hi Guys I have a matrix like this: x=[1 4; 4 6;2 3;3 2;4 2;1 3]. where I am showing data of three days. The first row is like...
거의 10년 전 | 답변 수: 1 | 0
1
답변질문
How can I Repeat time data for a number of days
Hi Guys, I have generated a column vector of one minutes interval time (So I have 1440 rows of time). Now I need repeat the time...
거의 10년 전 | 답변 수: 1 | 0
1
답변질문
generating random variables with expected value of one and finite variation.
How can I generate positive i.i.d random variables with the expected value of one and finite variation in MATLAB? Anyone help pl...
대략 10년 전 | 답변 수: 1 | 0
1
답변질문
How to merge different matlab files into one file
I have different Matlab files containing columns of stock price data. I need to incorporate all the price columns into one file....
대략 10년 전 | 답변 수: 1 | 0
1
답변질문
Inserting missing dates and values
I have two column matrix representing a time series data with daily interval. But I have few missing data so some of the dates a...
대략 10년 전 | 답변 수: 2 | 1
2
답변답변 있음
How to create a column vector where each element will be compounded amount by percentage of another vactor?
Thank you very much Yoav. It worked perfectly. Kind regards Sayeed
How to create a column vector where each element will be compounded amount by percentage of another vactor?
Thank you very much Yoav. It worked perfectly. Kind regards Sayeed
10년 초과 전 | 0
질문
How to create a column vector where each element will be compounded amount by percentage of another vactor?
Hi, suppose that x=[.2 .3 .4]'; I need to create z=[1000 1000*(1+.2) 1000*(1+.2)(1+.3) 1000*(1+.2)(1+.3)(1+.4)]'. This is just a...
10년 초과 전 | 답변 수: 2 | 0
2
답변질문
How to fill up missing rows in a matrix based on time column?
Hello guys I have a data matrix like the attached file. This is time series data which shows hourly price of a stock for differ...
거의 11년 전 | 답변 수: 1 | 0
1
답변질문
Truncating rows from a matrix
I have a matrix of panel data with 23 cross sections and 144 time intervals. So total number of rows is 23*144=3312 in the matri...
거의 11년 전 | 답변 수: 1 | 0
1
답변질문
How to retain only the rows of a matrix based on the unique numbers in the first column of the matrix?
Hello guys Say that a=[1 3 3; 1 4 3; 2 4 3; 2 5 2; 2 4 2; 3 2 1; 4 3 4; 4 3 2] I need to keep the rows where I have only uniqu...
거의 11년 전 | 답변 수: 2 | 0
2
답변질문
Truncation of a vactor
Hello I have a vector like this x=[4 7 17 4 6 9 12] I need to get rid of any values which are higher than 10. I tried this...
거의 11년 전 | 답변 수: 2 | 0
2
답변질문
Filling up zeros forward/backward columnwise
Hi I need to fill up zeros by the previous data columnwise in a matrix containing 5 minutes data for 10 days. each day I have 28...
대략 11년 전 | 답변 수: 2 | 0
2
답변질문
How to fill up missing values in a matrix?
Hi if i have matrix (6 by 4) like the following: 11 1 1 12 4 3 13 3 3 14 2 3 15 4 7 16 3 4 I need to m...
대략 11년 전 | 답변 수: 1 | 0