Answered

How to see how a dataset changes over time with PCA.

It's hard to know exactly what you are hoping to achieve here. When using pca(x) in Matlab, we are assuming that "rows of X corr...

How to see how a dataset changes over time with PCA.

It's hard to know exactly what you are hoping to achieve here. When using pca(x) in Matlab, we are assuming that "rows of X corr...

3 years ago | 0

Question

AR prediction leads fitted data

I am using aryule to construct a predictive AR filter. After I filter the data, the predicted values "lead" the actual data by o...

3 years ago | 0 answers | 0

Question

What is the difference between filter and conv?

I am trying to design a predictive AR filter using aryule. The code looks like this: h = aryule(signal,order); est_signa...

3 years ago | 2 answers | 0

Answered

Why is my loop only running 217 times when I expect it to run 649 times? See the script below

In your second script you assign the counter variable 'p' to be a single value, length(m(1,:)), which is simply 649. So Matlab c...

Why is my loop only running 217 times when I expect it to run 649 times? See the script below

In your second script you assign the counter variable 'p' to be a single value, length(m(1,:)), which is simply 649. So Matlab c...

4 years ago | 0

Answered

How to solve the double summation of the given expression

A blunt force method would be to have two for loops, one nested in the other. In the inner for loop, sum over the 'i' variables,...

How to solve the double summation of the given expression

A blunt force method would be to have two for loops, one nested in the other. In the inner for loop, sum over the 'i' variables,...

4 years ago | 0

Question

Matlab gradient does not follow exact numerical formula

When the numerical gradient is computed, Matlab uses forward differences for the end points, and uses central differences for t...

4 years ago | 1 answer | 0

Answered

How does MATLAB compute the covariance of a complex array?

So I answered my own question almost a minute after asking it. Turns out the transpose command, ', is actually the conjugate tra...

How does MATLAB compute the covariance of a complex array?

So I answered my own question almost a minute after asking it. Turns out the transpose command, ', is actually the conjugate tra...

4 years ago | 0

Question

How does MATLAB compute the covariance of a complex array?

I'm working with a complex array and looking at the covariance matrix and the relation matrix. (The explanation of these matrice...

4 years ago | 1 answer | 0

Question

Sign difference between coeff=pca(X) and [~,~,v] = svd(X)

I am experiencing sign differences between my computations for principal component analysis using the pca function and the svd f...

5 years ago | 3 answers | 0