Feeds
提问
how can I eliminate coloum with mean largest than a certain value?
Hi I have a matrix nxn called prices, where in each column I have an Historical stock prices. I want to eliminate all columns ...
8 years 前 | 1 个回答 | 0
1
个回答提问
Input A of class cell and input B of class cell must be cell arrays of strings, unless one is a string".
tickers='tickers.txt'; %list of tickers of financial stocks price=hist_stock_data('09032015','09032016',tickers); %download...
8 years 前 | 1 个回答 | 0
1
个回答提问
Error with ismember in a loop for
tickers='tickers.txt'; price=hist_stock_data('09032015','09032016',tickers); prices=zeros(size(price(1, 1).AdjClose,1),s...
8 years 前 | 1 个回答 | 0
1
个回答提问
Error with ismember in a loop for
Hi, I have the following code with the error: "Input A of class cell and input B of class cell must be cell arrays of strings,...
8 years 前 | 0 个回答 | 0
0
个回答提问
Error with ismember! help me
siz=size(couple,1); hlife=zeros(siz,1); adf=zeros(siz,1); correlation=zeros(siz,1); sharpe_res=zeros(siz,1); mc...
8 years 前 | 1 个回答 | 0
1
个回答提问
is there an equivalent vlookup formula excel in matlab of a string?
I have the following matrix: Stock_1 Stock_2 ..... Stock_n 23.5 25.8 29.6 24.5 85.5 ........ 59.2 ......
8 years 前 | 1 个回答 | 0
1
个回答提问
is there an equivalent vlookup formula excel in matlab of a string?
I have the following matrix: Name_1 Name_2 ..... Name_n 23.5 25.8 29.6 24.5 85.5 ........ 59.2 A ma...
8 years 前 | 0 个回答 | 0
0
个回答提问
can help me with this simple code?
I have a list of string (str_1,str_2.......str_n) an a matrix called "A" of string str_1 str_2 str_1 str_4 ... ... ...
8 years 前 | 2 个回答 | 0
2
个回答提问
is there an equivalent vlookup formula excel in matlab of a string?
I have the following matrix: Name_1 Name_2 ..... Name_n 23.5 25.8 29.6 24.5 85.5 ........ 59.2 A ma...
8 years 前 | 2 个回答 | 0
2
个回答提问
pls, help me with this
I have the following matrix: Name_1 Name_2 ..... Name_n 23.5 25.8 29.6 24.5 85.5 ........ 59.2 . ...
8 years 前 | 0 个回答 | 0
0
个回答提问
Subscripted assignment dimension mismatch.
Hi I have the vector price <1xn struct> in which we have a several information about a price of a stock. I want to have ...
8 years 前 | 1 个回答 | 0
1
个回答提问
Problem with plotyy for standard deviation on my plot
Hi, I want to plot the +1.5 and -1.5 standard deviation of my time series, in the same figure but with two y axes; but my code d...
9 years 前 | 2 个回答 | 0
2
个回答提问
Please help me, how can calculate this?
I have: vector of weights w(1,n); a var-cov matrix sigma (n,n); a correlation matrix corrm(n,n). I have to calculate this formu...
9 years 前 | 0 个回答 | 0
0
个回答提问
How can calculate this formula?
I have a matrix of price time series (p1,p2...pn) and their weights w(1,n). How can calculate this formula? <</matlabcentral...
9 years 前 | 1 个回答 | 0
1
个回答提问
How can calculate this formula?
I have a vector of weight w(1,n) and a correlation matrix p(n,1) created from n time series. How can calculate this formula? ...
9 years 前 | 0 个回答 | 0
0
个回答提问
How to calculate this formula?
I have a vector of weight w(1,n) and a vector of correlation p(n,1). How can calculate this formula? <</matlabcentral/answer...
9 years 前 | 1 个回答 | 0
1
个回答提问
How can calculate this formula with matlab?
I have the vectors w(1,n) and σ(n,1). How can calculate this formula? <</matlabcentral/answers/uploaded_files/39699/formula.p...
9 years 前 | 2 个回答 | 0
2
个回答提问
Subscript indices must either be real positive integers or logicals.
I have this code n=size(tickers,2); tempo=90; d=size(prices,1); f=d-tempo; meancoint=zeros(f,1); M_coint=zer...
9 years 前 | 1 个回答 | 0
1
个回答提问
find a value in a matrix
For example I have the following cell x1 x2 x3 x1 2 3 4 x2 5 -2 -5 x3 -6 -5 -4 I want to search all variable o...
9 years 前 | 1 个回答 | 0
1
个回答提问
maintain string in a cov matrix
Hi I want to know if it's possible maintain the name of my stocks in the var-cov matrix. If I have a matrix as dataset, for ex...
9 years 前 | 1 个回答 | 0
1
个回答提问
problem for loop matrix
this is my code: n=size(prices,2); M_coint=zeros(n,n); for i=1:n; j=1:n; tmp=cadf(prices(:,i),prices(:...
9 years 前 | 1 个回答 | 0
1
个回答提问
Why this message error?
n=size(prices,2); M_coint=zeros(n,n); for i=1:n; j=1:n; M_coint(i,j)=cadf(prices(:,i),prices(:,j),0,1); ...
9 years 前 | 1 个回答 | 0
1
个回答提问
Linear combination matrix columns
If I have the following matrix 1 5 6 2 7 6 3 2 2 with c1 c2 and c3 the columns I want obtain the following linear co...
9 years 前 | 1 个回答 | 0
1
个回答提问
linear combination matrix columns
If I have the following matrix 1 5 6 2 7 6 3 2 2 with c1 c2 and c3 the columns I want obtain the following li...
9 years 前 | 1 个回答 | 0
1
个回答提问
Matrix of cointegration as a var-cov matrix
If I have the following matrix composed from name of stocks and their daily price time series IBM JPM C p11 p12 p13 p21...
9 years 前 | 0 个回答 | 0
0
个回答提问
Create a combination of time series and test for each combination a test
If I have the following matrix composed from name of stocks and their daily price time series IBM JPM C p11 p12 p13 p21...
9 years 前 | 0 个回答 | 0
0
个回答提问
Create a combination of stocks to test the cointegration from a database
If I have the following matrix composed from name of stocks and their daily price time series IBM JPM C p11 p12 p13 p2...
9 years 前 | 0 个回答 | 0
0
个回答提问
join char/cell to double matrix
I have c=['IBM';'SPY';'IVV']; celldata=cellstr(c); and price= hist_stock_data(celldata'); I want a matrix as...
9 years 前 | 1 个回答 | 0
1
个回答提问
Join elements of an array
If I have two array a=[1 2 3 0] b=[0 0 5 4] and I want the array c=[1 2 3 4] How should I proceed? In other words I...
9 years 前 | 1 个回答 | 0