photo

Charles Martineau


Con actividad desde 2012

Followers: 0   Following: 0

Mensaje

Estadística

  • Thankful Level 3

Ver insignias

Feeds

Ver por

Pregunta


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

alrededor de 12 años hace | 0 respuestas | 0

0

respuestas

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

alrededor de 12 años hace | 0

| aceptada

Pregunta


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

alrededor de 12 años hace | 1 respuesta | 0

1

respuesta

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

alrededor de 12 años hace | 0

| aceptada

Pregunta


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

alrededor de 12 años hace | 1 respuesta | 0

1

respuesta

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

alrededor de 12 años hace | 0

Pregunta


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

alrededor de 12 años hace | 3 respuestas | 0

3

respuestas

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

alrededor de 12 años hace | 0

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

alrededor de 12 años hace | 0

Pregunta


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

alrededor de 12 años hace | 3 respuestas | 0

3

respuestas

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

alrededor de 12 años hace | 0

Pregunta


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

alrededor de 12 años hace | 2 respuestas | 0

2

respuestas

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

alrededor de 12 años hace | 1

| aceptada

Pregunta


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

alrededor de 12 años hace | 4 respuestas | 1

4

respuestas

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

alrededor de 12 años hace | 0

Pregunta


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

alrededor de 12 años hace | 2 respuestas | 0

2

respuestas

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

alrededor de 12 años hace | 0

| aceptada

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

alrededor de 12 años hace | 0

Pregunta


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

alrededor de 12 años hace | 4 respuestas | 0

4

respuestas

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

alrededor de 12 años hace | 0

Pregunta


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

alrededor de 12 años hace | 2 respuestas | 0

2

respuestas