is there fast quick select algorithn in matlab ??

6 次查看(过去 30 天)
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 个评论
Jan
Jan 2017-5-11
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.

请先登录,再进行评论。

回答(2 个)

Jan
Jan 2017-5-11

Walter Roberson
Walter Roberson 2017-5-11

类别

Help CenterFile Exchange 中查找有关 Multidimensional Arrays 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by