Finds a perpendicular vector

Finds a perpendicular vector of input (3-dim)
1.5K 次下载
更新时间 2011/9/9

查看许可证

This simple function finds one of the infinitely many perpendicular vectors of the input vector limited for 3 dimensions.
I use this in my master thesis to find one of the two vectors that span a plane (where the input is the normal vector to the plane). The other vector that spans the plane is of course the cross produkt of the normal and the first perpendicular vector.

引用格式

Christoffer Stausland (2024). Finds a perpendicular vector (https://www.mathworks.com/matlabcentral/fileexchange/32811-finds-a-perpendicular-vector), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2010a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Linear Algebra 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.4.0.0

Updated the file (forgot to remove a disp) and the screenshot

1.2.0.0

Updated the comment