photo

Charles Martineau


Active since 2012

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Eigenvalue and factor models: how to get the orthogonal matrix?
Hi everyone, I would like to know if there is a command to form factor models and get the orthogonal matrix in matlab. For inst...

12 years ago | 1 answer | 0

1

answer

Answered
The most effective way to use interp1 command in matlab with two columns
I solved my problem this way: % This datenum vector matches A. I'm assuming they're already sorted by date and time At ...

12 years ago | 0

| accepted

Question


Figure Title with String using eval command
Hi all, say that I type in matlab the following: s1='ALCOA'; s2='APPLE'; s3='ACCO BRANDS'; s4='ADOBE SYSTEMS...

12 years ago | 1 answer | 0

1

answer

Answered
For command + interpolation: need some tips
I think I solved it doing it this way: new_timeinhr = 0:0.25:max(A(:,2)); day_hour = rem(new_timeinhr, 24); new_tim...

12 years ago | 0

| accepted

Question


For command + interpolation: need some tips
I have a matrix "A" with three columns: daily dates,prices,and hours - all same size vector - there are multiple prices associat...

12 years ago | 1 answer | 0

1

answer

Answered
The most effective way to use interp1 command in matlab with two columns
Thanks Per - your code should work but the problem is that I just realized that sometimes for the same time say 9.25hrs I will h...

12 years ago | 0

Question


The most effective way to use interp1 command in matlab with two columns
I have two columns (same size) that I have to interpolate in Matlab. First column is a vector of time in hours (9.5, 9.6 9.73 10...

12 years ago | 3 answers | 0

3

answers

Answered
Partition function in Matlab - is there something missing in my code?
Andrei thanks for this superb formula! It improves my code but for some reason I still generate the same or similar output has m...

12 years ago | 0

Answered
Partition function in Matlab - is there something missing in my code?
Hi Andrei, I don't really understand. Is this code part of a loop? do I have to implement values like for instance; Sq = @(x,q...

12 years ago | 0

Question


Partition function in Matlab - is there something missing in my code?
Can anyone see if there is something wrong in my matlab code? My objective is to replicate this formula: <http://i.stack.imgur....

12 years ago | 3 answers | 0

3

answers

Answered
Geometric mean for a specific time intervals
Andrei thanks a lot! I didn't know about the accumarray function. I should have been more clear though in my question: I have mu...

12 years ago | 0

Question


Geometric mean for a specific time intervals
Hi all, say that I have a matrix (NX2) where the first column's elements are the number of seconds (since midnight) and the s...

12 years ago | 2 answers | 0

2

answers

Answered
Problem Expanding a Matrix
I figured out some other way x = 0:4; y = [5 3 4 9 10]; >> xnew = 0:.1:4; ynew = interp1(x,y,xnew,'linear');

12 years ago | 1

| accepted

Question


Problem Expanding a Matrix
Hi all, How can I do the following: Say that I start with a vector with the elements [5 3 4 9 10] - think of these numbers...

12 years ago | 4 answers | 1

4

answers

Answered
Loop plus diff function with non-integers: Feasible?
If anyone can help... I am really struggling with this one!

12 years ago | 0

Question


Loop plus diff function with non-integers: Feasible?
hi all, I am not sure if this is easy or not but I am struggling with the following: Say that I have a vector Xt (10,000*1...

12 years ago | 2 answers | 0

2

answers

Answered
What's wrong with my formula? - Can't solve my matrix dimension issue...
the correct way: for j=1:125; E=D(1:j:end,j); EE=diff(E(2:end)); EEE=diff(E(1:end-1)); S(j)=sum...

12 years ago | 0

| accepted

Answered
What's wrong with my formula? - Can't solve my matrix dimension issue...
Thanks for the insights... ya that's what I was expecting that my two vectors will not have the same size. Yet, those anyone kno...

12 years ago | 0

Question


What's wrong with my formula? - Can't solve my matrix dimension issue...
Hi everyone, My objective is the following: - to make this equation in matlab: see equation (a partition function) here: ...

12 years ago | 4 answers | 0

4

answers

Answered
matrix dimension error: need some hint!
Superb! Thanks a lot!!!

12 years ago | 0

Question


matrix dimension error: need some hint!
Hi, I have a vector "Xt" where Xt dimensions are 12588 X 1. From this vector I apply this code: S=sum((abs(Xt(2:end)-Xt(...

12 years ago | 2 answers | 0

2

answers