Get the angle between N-D vectors (2D, 3D, etc.)
Version 1.0.0.0 (658 Bytes) by
Audrey Cheong
Returns the angle between vectors of any dimensions.
Get the angle in radians between two sets of vectors of any dimensions (2D, 3D, 4D, etc.). The angles range from 0 to pi.
Please let me know if anything needs correction or ways to improve this.
Cite As
Audrey Cheong (2025). Get the angle between N-D vectors (2D, 3D, etc.) (https://www.mathworks.com/matlabcentral/fileexchange/62778-get-the-angle-between-n-d-vectors-2d-3d-etc), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2015a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Linear Algebra >
Find more on Linear Algebra 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 |
Update description.
|