Is there a faster version of min

11 ビュー (過去 30 日間)
Chaoyang Jiang
Chaoyang Jiang 2018 年 4 月 27 日
コメント済み: Walter Roberson 2018 年 4 月 27 日
I did the profiling, and this line takes the most of time: running 28449740 times and takes 163.84s.
I am wonderring if there is any version that is faster than min.
[a,b]=min(c(s1,s2));
  9 件のコメント
Walter Roberson
Walter Roberson 2018 年 4 月 27 日
Reminder: extracting consecutive rows is faster than extracting consecutive columns, so you should consider transposing your array.

サインインしてコメントする。

回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by