Question

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...

10 years ago | 1 answer | 0

### 1

Question

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...

10 years ago | 2 answers | 0

### 2

Question

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

10 years ago | 1 answer | 0

### 1

Question

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....

10 years ago | 1 answer | 0

### 1

Question

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...

10 years ago | 3 answers | 0

### 3

Question

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.........

10 years ago | 3 answers | 0

### 3

Question

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...

10 years ago | 2 answers | 0

### 2

Question

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?

10 years ago | 1 answer | 0

### 1

Question

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...

10 years ago | 1 answer | 0

### 1

Question

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 ...

10 years ago | 2 answers | 0

### 2

Question

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

10 years ago | 0 answers | 0

### 0

Question

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...

10 years ago | 1 answer | 0

### 1

Question

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...

10 years ago | 0 answers | 0

### 0

Question

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 ...

10 years ago | 1 answer | 0

### 1

Question

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.

10 years ago | 1 answer | 1

### 1

Question

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 ...

10 years ago | 1 answer | 0

### 1

Question

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...

10 years ago | 2 answers | 0

### 2

Question

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 ...

10 years ago | 1 answer | 0

### 1

Question

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...

10 years ago | 2 answers | 0

### 2

Question

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...

10 years ago | 0 answers | 0

### 0

Question

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

10 years ago | 1 answer | 0

### 1

Question

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 (...

10 years ago | 1 answer | 0

### 1

Question

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...

10 years ago | 2 answers | 0

### 2

Question

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

10 years ago | 1 answer | 0

### 1

Question

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...

10 years ago | 2 answers | 0

### 2

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

10 years ago | 0

Question

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

10 years ago | 1 answer | 0

### 1

Question

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;...

10 years ago | 2 answers | 0

### 2

Question

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...

10 years ago | 5 answers | 0