Frage

When using Corrcoef
Hi all, When using corrcoef on a matrix. Is there a way to get the mean of all the values on the bottom *left* triangular side o...

mehr als 12 Jahre vor | 2 Antworten | 0

### 2

Antworten

Beantwortet
question with correlation
May I should of rephrased what I meant. When I have a correlation matrix....using corrcoef, how can I take average of the bottom...

mehr als 12 Jahre vor | 0

Frage

simple question
I have a array of 1's and -1's. The data is in the format of S =[ 1 1 1 1 1 -1 -1 -1 -1 1 1 1 1] It is always changing betwee...

mehr als 12 Jahre vor | 3 Antworten | 0

### 3

Antworten

Frage

question with correlation
I have a array of X x Y size. I need to do correlation of all the columns as combinations. So need to do correlation of each ...

mehr als 12 Jahre vor | 2 Antworten | 0

### 2

Antworten

Frage

Help with code
Hi everybody, I am having some trouble with some code. My program goes through every substring within a string, finds out where ...

mehr als 12 Jahre vor | 0 Antworten | 0

### 0

Antworten

Frage

multiple correlation
Hi does anybody know how I can implement multiple correlation in MATLAB? http://en.wikipedia.org/wiki/Multiple_correlation

mehr als 12 Jahre vor | 2 Antworten | 0

### 2

Antworten

Frage

correlation of more than 2 variables
Hi there, if I have more than 2 vectors of size [1000 x 1] of which I want to find correlation of is it possible. Possibly up to...

mehr als 12 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

Patterns in matlab
Hi all, Thank you so much for your help on the forum. I need help. I have some data and I want to check each substring within...

mehr als 12 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

Create a array of 1 and -1
EDITED Hi there, I want a 4 x 1 vector of all combinations of 1 and -1. For instance [1 1 1 1] , [1 1 1 -1] , [1 1 -1 1] ...

mehr als 12 Jahre vor | 3 Antworten | 0

### 3

Antworten

Frage

Repeated event in a array part 2

mehr als 12 Jahre vor | 0 Antworten | 0

### 0

Antworten

Frage

Data
Hi there, I have a 6 million x 1 array of prices. I want to change it so that it is +1 if P+1 > P, -1 if P-1 <P and 0 if P+1=P

mehr als 12 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

Repeated event in a array
Hi there, I have a vector of size 10,000,000 x 1. The vector has inputs of 1 0 and -1 only. I want to find repeated events. F...

mehr als 12 Jahre vor | 2 Antworten | 0

### 2

Antworten

Frage

Rolling correlation / moving correlation
Hi there, Does anybody have a small function to compute the rolling correlation of 2 financial time series. It would probably ne...

mehr als 12 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

vectorize a loop
Hi there I have the following loop, is there a way to vectorize it? for i=1:10000 for j=i:10000 s = zeros(size(P)); [le...

mehr als 12 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

Hi there, I have matlab running on a Quad core I7 processor which has 8 threads. I did a loop of a function test changing the nu...

mehr als 12 Jahre vor | 2 Antworten | 0

### 2

Antworten

Frage

how to use arrayfun for gpu
Hi there, I am calling a function which is a sample used from a matlabs webinar: for n = 1:100 for m = n:100 ...

mehr als 12 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

alternative to diff(X)
Hi there, is there anyother 1 line method to diff(X), as diff is not supported in the gpu arrayfun! Thanks

mehr als 12 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

loop on gpu
Hi there, how would you make the fastest loop on a gpu considering a function I have? Could anybody help me

mehr als 12 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

Optomize for gpu
Hi there, I am using a function called leadlag supplied by mathworks with a tutorial on algorithmic trading and want to optomize...

mehr als 12 Jahre vor | 0 Antworten | 0

### 0

Antworten

Frage

Delete elements in a array
Hi, I have a large array. I want to delete certain elements in the array. I want to delete the 390th element, and then after tha...

mehr als 12 Jahre vor | 2 Antworten | 0

### 2

Antworten

Frage

random number between -1 and 1
Hi I need a 1 line code for a random number generator between 1 and -1 for one element.

mehr als 12 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

cell array in matlab..
Hi there, I have a cell array in matlab in the form of: 'f2=38.8504' 'f98=39.1628' 'f2=38.8504' 'f98=39.1628' '...

mehr als 12 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

Hi everyone, I have data in a notepad in the format of: SLV|41|T|10|05:29:49:887|01/08/2011|f2=38.8504 GLD|41|R|10|05:29:5...

mehr als 12 Jahre vor | 2 Antworten | 0

### 2

Antworten

Frage

Matrix
I have a matrix S1 and S2 which consist of +1, -1 and 0. I want a matrix S such that it is +1 if there is +1 in both S1 and S...

mehr als 12 Jahre vor | 2 Antworten | 0

### 2

Antworten

Frage

maximum position of element in a matrix
Hi I have a 1000x1000 matrix. I want to find the location and the value of the highest value in the matrix?

mehr als 12 Jahre vor | 2 Antworten | 0

### 2

Antworten

Frage

Forecasting in Matlab
Hi there, I hear MATLAB is very good for forecasting. Lets say we want to forecast a financial time series, what model would be ...

mehr als 12 Jahre vor | 2 Antworten | 0

### 2

Antworten

Frage

seperate elements in cell array
Hi everybody I have a massive cell array in the form of: 'GLD|41|R|10|05:28:06:361|01/08/2011|f98=158.6' 'GLD|41|T|10|05...

mehr als 12 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

combine ARRAYS
Hi everybody. I had arrays in the form of A= 23401x1 and B=200x1 etc... I want to combine them so that they continue downw...

mehr als 12 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

Filling in secondly intervals between 15:30:00 to 22:00:00 (require more efficient method)
I have data in the form of Hi all I have prices which change every 15 seconds throughout the whole day. I want to make th...

mehr als 12 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

One line code to alternate diff
Hi everyone. I know that diff(x) produces the difference in x elements. Now lets say I want to produce the difference of ever...

mehr als 12 Jahre vor | 1 Antwort | 0

Antwort