File Exchange

image thumbnail


version (148 KB) by Yu-Hui Chen
The random sample generators for the two spherical distributions: von Mises-Fisher, Watson.


Updated 27 Aug 2015

From GitHub

View license on GitHub

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)

Cite As

Yu-Hui Chen (2021). SphericalDistributionsRand (, GitHub. Retrieved .

Comments and Ratings (2)


In matlab R2016b running the following code:
randVMF(1, [cos(pi/4), sin(pi/4)], 1)
takes forever to compute


MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: Confluent hypergeometric function

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!