planenormvec
版本 1.0.0.0 (1.2 KB) 作者:
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);
引用格式
Yo Fukushima (2024). planenormvec (https://www.mathworks.com/matlabcentral/fileexchange/7239-planenormvec), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R11.1
兼容任何版本
平台兼容性
Windows macOS Linux类别
- MATLAB > Mathematics > Linear Algebra >
在 Help Center 和 MATLAB Answers 中查找有关 Linear Algebra 的更多信息
标签
致谢
启发作品: threepoints2planez
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 | BSD License added. |