File Exchange

image thumbnail

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

The minimum distance betweeen two points (x,y) based on Hamilton's function

0 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.

Comments and Ratings (1)

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: K-Fold Cross Validation