データの不均一なサンプリング時間を均一にするには
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
owada ryosuke
le 23 Déc 2019
Commenté : owada ryosuke
le 24 Déc 2019
実験結果で、データの形式が1x1 double timeseriesでサンプリン時間が5msや10msとバラバラでとれているので(実験のサンプリン時間設定はAutoで変更できない)、このデータを5ms間隔で(データが欠けている所は補間するなどして)直すことは出来ないでしょうか?
0 commentaires
Réponse acceptée
Shunichi Kusano
le 23 Déc 2019
interp1関数が使えます。
x, vに今手持ちの時間データとその時の計測値、xqにリサンプルしたい5ms間隔の時間データを入れます。内挿の方法はmethodで指定できます。
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!