It is the MATLAB codes for generating the random samples from Von-Mises Fisher and Watson distribution.
The code is part of the work in the following papers:
Chen, Yu-Hui, et al. "Parameter estimation in spherical symmetry groups." Signal Processing Letters, IEEE 22.8 (2015): 1152-1155.
Chen, Yu-Hui, et al. "Statistical Estimation and Clustering of Group-invariant Orientation Parameters." International Conference on Information Fusion (2015 in press)
Yu-Hui Chen (2021). SphericalDistributionsRand (https://github.com/yuhuichen1015/SphericalDistributionsRand), GitHub. Retrieved .
Inspired by: Confluent hypergeometric function
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
In matlab R2016b running the following code:
randVMF(1, [cos(pi/4), sin(pi/4)], 1)
takes forever to compute