Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why dpss of mtspec are different from dpss of MATLAB? #22

Open
CovMat opened this issue Sep 20, 2018 · 0 comments
Open

Why dpss of mtspec are different from dpss of MATLAB? #22

CovMat opened this issue Sep 20, 2018 · 0 comments

Comments

@CovMat
Copy link

CovMat commented Sep 20, 2018

Dear Krischer,

This figure shows the tapers of dpss given by tapers, lamb, theta = dpss( 5001, 4, 7 )
dpss_python

However, if I use following MATLAB code to plot the tapers of dpss, the results are different:

[E,V] = dpss(5001,4,7);
E = E';
plot(E(1,:),'.-')
hold on;
plot(E(2,:),'.-')
plot(E(3,:),'.-')
plot(E(4,:),'.-')
plot(E(5,:),'.-')
plot(E(6,:),'.-')
plot(E(7,:),'.-')

dpss_matlab

I am confused why they are different. Looking forward to your reply. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant