length_opti(x1,y1,x​2,y2)

The minimum distance betweeen two points (x,y) based on Hamilton's function
269 Downloads
Updated 24 Oct 2015

View License

>> A = length_opti(1,2,3,-5)
A =
1.0000 -1.5000

arguments: (input)
x1: the first ordinate of the first point.
y1: the second ordinate of the first point.
x2: the first ordinate of the second point.
y2: the second ordinate of the second point.

arguments: (output)
opt - The minimum ordinate of the desired point.

Cite As

Alireza Shourangiz Haghighi (2025). length_opti(x1,y1,x2,y2) (https://ch.mathworks.com/matlabcentral/fileexchange/53660-length_opti-x1-y1-x2-y2), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Create Courses and Assessment Items in Help Center and MATLAB Answers
Acknowledgements

Inspired by: K-Fold Cross Validation

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