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

circ_plot bug -- inner matrix dimensions don't agree #28

Open
cvbdn opened this issue Dec 7, 2021 · 1 comment
Open

circ_plot bug -- inner matrix dimensions don't agree #28

cvbdn opened this issue Dec 7, 2021 · 1 comment

Comments

@cvbdn
Copy link

cvbdn commented Dec 7, 2021

When plotting the mean vector = true and alpha is a sample of angles in radians, line 83 and 130: zm = rexp(1iphi); crashes for the multiplication of r times the complex numbers, even when it is clear that matrix dimensions do agree.

@cvbdn
Copy link
Author

cvbdn commented Dec 7, 2021

I'm also having trouble where when I submit circ_r(alpha) I get all 1.000 for all 63 taps. So perhaps the issue is on my side? I'm trying to convert taps within a metrical unit to radians using the following formula: alpha = (2pix)/k, where x is the tap time relative to the time window k (e.g., in a 500 ms time window k , tap x occurred at 35 ms after the start of the time window). If there is a help page for the circstats toolbox that I've neglected in my googling please direct me to it! 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