planenormvec
Version 1.0.0.0 (1,15 KB) von
Yo Fukushima
Calculate the normal vector of a plane in 3D that contains three points.
VEC = PLANENORMVEC(PT1,PT2,PT3) calculats the normal vector of a plane that includes three points PT1, PT2, and PT3. When the plane is expressed as ax + by + cz = 1, VEC(1) = a, VEC(2) = b, VEC(3) = c. Points should be a 1 x 3 vector, specifying x, y and z values for each column.
(Example)
p1 = [3,4,5];
p2 = [8,-4,0];
p3 = [0,0,1];
vec = planenormvec(p1,p2,p3);
Zitieren als
Yo Fukushima (2026). planenormvec (https://de.mathworks.com/matlabcentral/fileexchange/7239-planenormvec), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R11.1
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Mathematics > Linear Algebra >
Mehr zu Linear Algebra finden Sie in Help Center und MATLAB Answers
Tags
Quellenangaben
Inspiriert: threepoints2planez
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.0.0.0 | BSD License added. |
