Random Vector Normal to a Given Vector
Version 1.0.0.0 (1.19 KB) by
David
Random unit vectors are generated that are normal to a specified vector in 3-space.
This function will randomly generate unit vectors that are normal to a given vector in 3-space. It ues the function: unifrnd in the Statistics Toolbox; user can change this to use rand function w/o much effort if doesn't have Statistics Toolbox.
Cite As
David (2024). Random Vector Normal to a Given Vector (https://www.mathworks.com/matlabcentral/fileexchange/34239-random-vector-normal-to-a-given-vector), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2008a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Creating and Concatenating Matrices in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |