POLYPLOT
The function POLYPLOT plots polyhedron in 2D of the relation Ax=b. Use the function DETCHECK.m for better results and to avoid problems with singular submatrices.
https://de.mathworks.com/matlabcentral/fileexchange/69463-detcheck
Usage: POLYPLOT(A,b)
Input:
A - matrix.
b - vector.
For example, given are four equations of lines as follows.
1x + 0y = 0
1x + 0y = 1
0x + 1y = 0
0x + 1y = 1
Here A=[1 0; 1 0; 0 1; 0 1] and B=[0 1 0 1]'
The function then finds out the points of intersection of the equations and plots a polygon.
Author: Shahariar Hassan (Technical University of Kaiserslautern)
Date: 14.11.2018
Zitieren als
Shahariar Hassan (2026). POLYPLOT (https://de.mathworks.com/matlabcentral/fileexchange/69438-polyplot), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Graphics > 2-D and 3-D Plots > Surfaces, Volumes, and Polygons > Volume Visualization > Scalar Volume Data >
Tags
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 3.0.2 | More details regarding the function added. |
||
| 3.0.1 | Added bounds to the axis. |
||
| 3.0.0 | Bug fix for random axis values. |
||
| 2.0.0 | This version solves the submatrix singularity problem. |
||
| 1.0.0 |
