length_opti(x1,y1,x2,y2)
Version 1.0.0.0 (3.51 KB) by
Alireza Shourangiz Haghighi
The minimum distance betweeen two points (x,y) based on Hamilton's function
>> 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 (2024). length_opti(x1,y1,x2,y2) (https://www.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 LinuxCategories
- Teaching and Learning > MATLAB Grader > Create Courses and Coding Problems > Create and Organize Courses >
Find more on Create and Organize Courses in Help Center and MATLAB Answers
Tags
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!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |