18.0 次下载
更新 2024/9/26

查看许可证

This function plots a prism. Example file is provided.
function Plot_Prism(v1,v2,x,y,theta)
Input:
v1: (3*1) vector of the origin point of the first polygonal face .
v2: (3*1) vector of the origin point of the second polygonal face.
x: (1*N) x-coordinates of the polygonal faces.
y: (1*N) y-coordinates of the polygonal faces.
theta: angle of rotation around the prism major axis.
Output:
Plots the prism.

引用格式

Ayad Al-Rumaithi (2026). Plot Prism (https://ww2.mathworks.cn/matlabcentral/fileexchange/136269-plot-prism), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2017b
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签
版本 已发布 发行说明
1.0.2

Added website.

1.0.1

changed rotation matrix from -z to z direction

1.0.0