is there fast quick select algorithn in matlab ??

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.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Elementary Math에 대해 자세히 알아보기

질문:

2017년 5월 11일

댓글:

Jan
2017년 5월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by