POLYPLOT

The function POLYPLOT plots polyhedron in 2D of the relation Ax=b. Please use function DETCHECK.m for better results. See Description.

You are now following this Submission

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

Cite As

Shahariar Hassan (2026). POLYPLOT (https://www.mathworks.com/matlabcentral/fileexchange/69438-polyplot), MATLAB Central File Exchange. Retrieved .

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
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