Finds a perpendicular vector
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.
Zitieren als
Christoffer Stausland (2024). Finds a perpendicular vector (https://www.mathworks.com/matlabcentral/fileexchange/32811-finds-a-perpendicular-vector), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Mathematics > Linear Algebra >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.4.0.0 | Updated the file (forgot to remove a disp) and the screenshot |
||
1.2.0.0 | Updated the comment |