File Exchange

image thumbnail

Knee Point

version 1.1.0.0 (3.13 KB) by Dmitry Kaplan
Finds a knee point of a curve

29 Downloads

Updated 16 Feb 2012

View License

Finds a location of "knee" of a curve. Provides a consistent and mathematically justifiable answer when there is no obvious location along the curve where the curve "turns". The function uses as a definition of a "knee" the point where the curve is best approximated by a pair of lines.

Cite As

Dmitry Kaplan (2020). Knee Point (https://www.mathworks.com/matlabcentral/fileexchange/35094-knee-point), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (13)

Ben Oeveren

Works great.
Alternatively, you might want to check findchangepts(y,'Statistic','linear'). It will provide the same/ nearly the same results.
But this submission is more transparent which is convenient if you wish to make any modifications.

treize

Really good job on developing this function!

vivian wu

jigsaw

Josh

Bravo

Zaid Assaf

Does this calculate the first knee in the curve or the most significant one?

Wenlong Wu

amazing

works perfectly

LShaver

Does exactly as promised.

Updates

1.1.0.0

Better description and a little more help text.

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories