Frage

Question regarding matrix manipulation

Hi all, I have a (50x1) Array A2 which is a series of uneven sequential numbers (serial times), And a (50x1) array B2 of numb...

etwa 12 Jahre vor | 1 Antwort | 0

Frage

Simple question regarding sorting

Hi, If I have two column matrixes of size Nx1 and Mx1 and I want to marge them together to make a Yx1 Column, but sorted in orde...

etwa 12 Jahre vor | 2 Antworten | 0

Frage

run a program every minute

I have some code which I want to rerun every minute. Is there a code to do this?

etwa 12 Jahre vor | 1 Antwort | 0

Frage

datafeed toolbox

Hi there, I have tried to use the yahoo functionality, however when I fetch for prices, it seems that its not the current price....

etwa 12 Jahre vor | 1 Antwort | 0

Frage

two matrix problem

Hi there, I have 2 matrixes of size 300x1. One matrix A consists of 1's and -1's, and B consists of positive and negative num...

etwa 12 Jahre vor | 3 Antworten | 0

Frage

matrix nan

hi, i have multiple nans in my 1000x1 matrix. I want to replace the nans with the average of the number above and below it.........

etwa 12 Jahre vor | 3 Antworten | 0

Frage

loop

Hi I need to do two loops, where the inputs of both need to be 0.4:0.01:0.99, any help on how to achieve this buy by still going...

etwa 12 Jahre vor | 2 Antworten | 0

Frage

Matrix manipulation

Hi everybody. I have a 2 x 10000 matrix. I want a short code which can tell me exactly out of the 1000 are [1;1]s?

etwa 12 Jahre vor | 1 Antwort | 0

Frage

Question with a row matrix (simple)

Hi there, I have a matrix of size 500000 x 1. I want to minus 0.00006 from each element which is not zero. If there is a zero th...

etwa 12 Jahre vor | 1 Antwort | 0

Frage

matrix

Hi I have a 1 x 100 row matrix. I want to calculate in one line what percentage (interms of decimal) are the elements which are ...

etwa 12 Jahre vor | 2 Antworten | 0

Frage

agorithm

Hi there, I want to replicate the RSI function in MATLAB from tradestation (as rsindex is different). The inputs would be a ...

etwa 12 Jahre vor | 0 Antworten | 0

Frage

shifting down elements in a matrix with nans

hi there I have a 200x1 matrix where I want to shift down the elements 10 places to get a 210x1 matrix with 10 nans at the start...

etwa 12 Jahre vor | 1 Antwort | 0

Frage

Financial toolbox question

I have a question....When I use the function RSINDEX or movavg (exponential variety), I see a big variation of the output from o...

etwa 12 Jahre vor | 0 Antworten | 0

Frage

strfind using two strings

Hi there I have been using strfind to find strings within a string. Now lets imagine a horizontal axis of time. I want to do ...

etwa 12 Jahre vor | 1 Antwort | 0

Frage

delete rows which contain at least 1 zero

Hi there I have a large matrix A. I want to delete every row which contains at least 1 zero in the row.

etwa 12 Jahre vor | 1 Antwort | 1

Frage

cumprod row and column

Hi there, I have a matrix of size 1000x 40. The 1000 represent weeks and 40 represent the number of assets. For each entry is a ...

etwa 12 Jahre vor | 1 Antwort | 0

Frage

multiply along

~EDITED' Hi there, I have a long matrix 1000 x 34 want to do the cumulative multiplication left to right to give a 1000 x 1 m...

etwa 12 Jahre vor | 2 Antworten | 0

Frage

Correlation nans

Hi all, I have a very large matrix of 1's, -1's and 0's. When I do corrcoef sometimes I get nans. Is there a way I can avoid ...

etwa 12 Jahre vor | 1 Antwort | 0

Frage

annualized rate of return!

Hi, I have back-tested a strategy and the total return after *285 weeks is 24%*. How would I annualize this? I would like the an...

etwa 12 Jahre vor | 2 Antworten | 0

Frage

strfind in matlab vs other languages..

Hi all, I was wondering if anyone has experience of a similar function to strfind in MATLAB and how much of a speed up is obtain...

etwa 12 Jahre vor | 0 Antworten | 0

Frage

best fit

Hi there, I have a 6 x 83430 matrix. I want a 1 x 83430 matrix which has the best fit.

etwa 12 Jahre vor | 1 Antwort | 0

Frage

matrix

Hi, I have a very large matrix. I want to know how many positive elements I have in the matrix, and how many negative elements (...

etwa 12 Jahre vor | 1 Antwort | 0

Frage

MAtrix

Hi there I have a matrix of size 298 x 19. I want to have just one column, so 289x1, but it to be the addition of the row. So...

etwa 12 Jahre vor | 2 Antworten | 0

Frage

convert nans to 0

Hi I have a large matrix and want to convert all nans to zeros. Any help?

etwa 12 Jahre vor | 1 Antwort | 0

Frage

cumsum of a matrix

Hi there I have a nxm matrix. I want to do the cumsum of each column, then all of them added up to give one total cumsum. Any...

etwa 12 Jahre vor | 2 Antworten | 0

Beantwortet

strfind on gpu

Any advice anybody? I want to speed up strfind......with or without gpu....note (findPattern2 and findpattern both are very slow...

strfind on gpu

Any advice anybody? I want to speed up strfind......with or without gpu....note (findPattern2 and findpattern both are very slow...

etwa 12 Jahre vor | 0

Frage

matrix

Hi there, I have a square matrix and I want to find location of the maximum and minumum in each row. EDITED!

etwa 12 Jahre vor | 1 Antwort | 0

Frage

error when using gpu

Hi this is the part of code which troubles me: for j=1:length(ZZ) array(:,index) = A(ZZ(j)+n:ZZ(j)+n+x-1); index=index+1;...

etwa 12 Jahre vor | 2 Antworten | 0

Frage

strfind on gpu

Hi there, When I try to use strfind on data which is on the gpu it gives me an error. It seems strfind cannot work on data which...

etwa 12 Jahre vor | 6 Antworten | 0

Frage

Cloud computing

Hi there, I am very interested in using cloud computing here in the UK with matlab. Could anybody advise on companies which offe...

etwa 12 Jahre vor | 1 Antwort | 0