Community Profile

photo

J J


Last seen: 4年弱 前 2018 年からアクティブ

Followers: 0   Following: 0

統計

  • Thankful Level 2
  • First Review
  • Thankful Level 1

バッジを表示

Feeds

表示方法

質問


How can I make this find function in a for loop run faster using vectorization?
%% Find Peaks of raw data tic if MinPeakDistance == 0 [y_enc, t_pks] = findpeaks(y_raw, freq_s, 'MinPeakProminence', Mi...

5年以上 前 | 1 件の回答 | 0

1

回答

質問


How can I vectorize this find function?
for i=1:length(x) ind_1 = find(b <x(i), 1, 'last'); ind_2 = ind_1+1; x1 = b(ind_1); x2 = b(ind_2); y1 =...

5年以上 前 | 1 件の回答 | 0

1

回答