Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
サンプリング周波数が 0.02、つまり 0、0.02、0.04 などの配列内のデータを選択し たい。これからデータを抽出して、データのサンプリング周波数が 0.3、つまり 0、0.3、0.6、0.9 になるようにしたい。など。配列から 0.29 または 0.31 の間でデータを選択する必要があるかもしれないことを考えると、これを行う最善の方法は何ですか?
アミット
読み進めてresample、15 倍にダウンサンプリングしていると仮定して、これを試してみることができます。
resample
y = resample(x, 1, 15);