How to make a piecewise linear plot from points?
13 views (last 30 days)
Show older comments
My point coordinates are P1(1,1) ,P(3,2), P(3,3), P4(1,4). i need to make a piecewise linear plot i.e. line from P1 to P2, P2 to P3, P3 to P4? How can I do this simply? The number of points might increase.
I want the graph to be similar to the graph attached, the outer piecewise linear plot.
0 Comments
Answers (2)
Image Analyst
on 23 Jun 2018
Edited: Image Analyst
on 23 Jun 2018
What I think you have is a continuous curve.
What I think you're asking for is called the "minimum perimeter polygon".
0 Comments
See Also
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!