Speeding up median calculation

median.PNG
The above line of code calculates the median value of a 1xnx3 array and saves it as a particular point in an image. I was wondering if anyone knows a quicker way to do this, as currently the median function takes up around 7 seconds of the total run time.

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Loops and Conditional Statements 的更多信息

标签

提问:

2019-9-8

评论:

2019-9-8

Community Treasure Hunt

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

Start Hunting!

Translated by