You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found a small inconsistency in the circ_vmrnd program. On line 50, it should read:
alpha = 2pirand(n,1)-pi;
Currently the "-pi" isn't in the code, which means for large values of kappa, the distribution takes values on the interval (-pi,pi), while for kappa close to 0 it takes values between (0,2pi).
The text was updated successfully, but these errors were encountered:
adehad
added a commit
to adehad/circstat-matlab
that referenced
this issue
May 21, 2019
In this case of small kappa, the code also does not reshape the output. In contrast, usually when the input argument, n, is a two-element vector the output is reshaped. Shall I change this and submit a pull request?
I found a small inconsistency in the circ_vmrnd program. On line 50, it should read:
alpha = 2pirand(n,1)-pi;
Currently the "-pi" isn't in the code, which means for large values of kappa, the distribution takes values on the interval (-pi,pi), while for kappa close to 0 it takes values between (0,2pi).
The text was updated successfully, but these errors were encountered: