結果 : matlab sliding window function