File Exchange

image thumbnail

Knee Point

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

31 Downloads

Updated 16 Feb 2012

View Version History

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 (2021). Knee Point (https://www.mathworks.com/matlabcentral/fileexchange/35094-knee-point), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (15)

Alberto Mora

Moh. Saadat

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

Knut Andre Skaug

Really good job on developing this function!

yuri antonacci

vivian wu

jigsaw

Josh

MUDASSIR MANIAR

Bravo

Zaid Assaf

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

Wenlong Wu

amazing

Chang hsiung

works perfectly

Mohammad Farshchin

LShaver

Does exactly as promised.

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

Community Treasure Hunt

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

Start Hunting!