在 3D 中绘制平面及其交点:函数 'plotPlanes' 在 3D 中绘制平面/线; 'plotIntersection' 绘制平面的交点。-matlab开发

时间:2021-06-01 12:57:47
【文件属性】:
文件名称:在 3D 中绘制平面及其交点:函数 'plotPlanes' 在 3D 中绘制平面/线; 'plotIntersection' 绘制平面的交点。-matlab开发
文件大小:4KB
文件格式:ZIP
更新时间:2021-06-01 12:57:47
matlab 1) plotPlanes.m - 绘制由方向向量或法线向量定义的 3D 平面和线。 例子: A = [1 1 0;0 0 1]; Ashift = [1 1 1]; B = [1 1 1]; C = [1 1 0] plotPlanes(A,'d',Ashift,B,'Normal',C) ====================================== 2) plotIntersection.m - 绘制平面/线的交点。 只能绘制通过 (0,0,0)(即未移动)的平面/线(由于 findIntersection.m 的功能)。 例子: A = [1 1 0;0 0 1]; B = [1 1 1]; plotIntersection(A,B) plotIntersection(A,'Normal',B)
【文件预览】:
planes.zip

网友评论