18 téléchargements
Mise à jour 26 sept. 2024

Afficher la licence

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.

Citation pour cette source

Ayad Al-Rumaithi (2025). Plot Prism (https://fr.mathworks.com/matlabcentral/fileexchange/136269-plot-prism), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2017b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Tags Ajouter des tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Publié le Notes de version
1.0.2

Added website.

1.0.1

changed rotation matrix from -z to z direction

1.0.0