photo

Charles Martineau


Attivo dal 2012

Followers: 0   Following: 0

Messaggio

Statistica

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


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

circa 12 anni fa | 0 risposte | 0

0

risposte

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

circa 12 anni fa | 0

| accettato

Domanda


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

circa 12 anni fa | 1 risposta | 0

1

risposta

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

circa 12 anni fa | 0

| accettato

Domanda


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

circa 12 anni fa | 1 risposta | 0

1

risposta

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

circa 12 anni fa | 0

Domanda


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

circa 12 anni fa | 3 risposte | 0

3

risposte

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

circa 12 anni fa | 0

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

circa 12 anni fa | 0

Domanda


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

circa 12 anni fa | 3 risposte | 0

3

risposte

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

circa 12 anni fa | 0

Domanda


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

circa 12 anni fa | 2 risposte | 0

2

risposte

Risposto
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');

circa 12 anni fa | 1

| accettato

Domanda


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

circa 12 anni fa | 4 risposte | 1

4

risposte

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

circa 12 anni fa | 0

Domanda


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

circa 12 anni fa | 2 risposte | 0

2

risposte

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

circa 12 anni fa | 0

| accettato

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

circa 12 anni fa | 0

Domanda


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

circa 12 anni fa | 4 risposte | 0

4

risposte

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

circa 12 anni fa | 0

Domanda


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

circa 12 anni fa | 2 risposte | 0

2

risposte