Question


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

12 years ago | 2 answers | 0

2

answers

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

12 years ago | 0

Question


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

12 years ago | 3 answers | 0

3

answers

Question


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

12 years ago | 2 answers | 0

2

answers

Question


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

12 years ago | 0 answers | 0

0

answers

Question


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

12 years ago | 2 answers | 0

2

answers

Question


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

12 years ago | 1 answer | 0

1

answer

Question


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

12 years ago | 1 answer | 0

1

answer

Question


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

12 years ago | 3 answers | 0

3

answers

Question


Repeated event in a array part 2
Hi everybody please see my last question: <http://www.mathworks.com/matlabcentral/answers/37395-repeated-event-in-a-array>. W...

12 years ago | 0 answers | 0

0

answers

Question


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

12 years ago | 1 answer | 0

1

answer

Question


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

12 years ago | 2 answers | 0

2

answers

Question


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

12 years ago | 1 answer | 0

1

answer

Question


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

12 years ago | 1 answer | 0

1

answer

Question


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

12 years ago | 2 answers | 0

2

answers

Question


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

12 years ago | 1 answer | 0

1

answer

Question


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

12 years ago | 1 answer | 0

1

answer

Question


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

12 years ago | 1 answer | 0

1

answer

Question


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

12 years ago | 0 answers | 0

0

answers

Question


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

12 years ago | 2 answers | 0

2

answers

Question


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.

12 years ago | 1 answer | 0

1

answer

Question


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

12 years ago | 1 answer | 0

1

answer

Question


extraction from notepad
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...

12 years ago | 2 answers | 0

2

answers

Question


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

12 years ago | 2 answers | 0

2

answers

Question


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?

12 years ago | 2 answers | 0

2

answers

Question


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

12 years ago | 2 answers | 0

2

answers

Question


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

12 years ago | 1 answer | 0

1

answer

Question


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

12 years ago | 1 answer | 0

1

answer

Question


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

12 years ago | 1 answer | 0

1

answer

Question


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

12 years ago | 1 answer | 0

1

answer

Load more