Speeding up median calculation
2 ビュー (過去 30 日間)
古いコメントを表示
![median.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/237368/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.
2 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!