Community Profile

photo

Walter


Barbnet Investment Company

Active since 2012

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


Method to compound daily data by n-days?
Given: [1 2 3 4 5 6] and n = 1, return [1, 2, 3, 4, 5, 6] given n=2, return: [1*2, 3*4, 5*6] given n=3, return: [1*2...

11 years ago | 2 answers | 0

2

answers

Question


correlation matrix labels
Assume I have: names = { 'one', 'two', 'three' }; How could i generate the matrix: 'one vs one' 'one vs two' ...

12 years ago | 1 answer | 1

1

answer

Question


difference matrix??
I'm not sure what this is called, but I want to calculate the cross-differences?? of values in a matrix such that: f( ...

12 years ago | 1 answer | 0

1

answer

Question


need help optimizing this code...
how can I do this without a loop: (consider vectors w and s of length n)... dTot = 0; for i=1:n for j=i+1:n ...

12 years ago | 5 answers | 0

5

answers