is there fast quick select algorithn in matlab ??

6 views (last 30 days)
Good mind
Good mind on 11 May 2017
Commented: Jan on 11 May 2017
i need calculate the median in each position of sliding window, to reduce the time needed to calculate this median i should use fast quick select. i found this algorithm but in c code http://ndevilla.free.fr/median/median/src/quickselect.c
  1 Comment
Jan
Jan on 11 May 2017
What is your question? The linked code is not working: It replies the median only if an array with 1 or 2 elements is provided as input. In addition is is not useful for a sliding window application.

Sign in to comment.

Answers (2)

Jan
Jan on 11 May 2017

Walter Roberson
Walter Roberson on 11 May 2017

Categories

Find more on Multidimensional Arrays in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!