Fast retrieve line coordinates

Fast retrieve the (x,y) coordinates of a line, given the starting and ending points.
1K Downloads
Updated 18 Mar 2005

No License

function [x,y]=conect(Xstart,Xend,Ystart,Yend)
works the same as LINE(X,Y) but you can retrieve the coordinates of the line. It works for Xstart~=Xend.

Cite As

Alejandro Sanchez-Crespo (2024). Fast retrieve line coordinates (https://www.mathworks.com/matlabcentral/fileexchange/7126-fast-retrieve-line-coordinates), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R11.1
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

Change the header for a standard one