changeSampleFreq

Easily change the sample frequency of a data-set
ダウンロード: 1.2K
更新 2008/3/4

ライセンスがありません

dataNew = changeSampleFreq(dataOld, freqOld, freqNew, qFilter, qPlot)

This function gives the following output:
*The original data-set but with the chosen sample frequency

This function uses the following input:
*dataOld: The original data-set (as a column, multiple columns are possible)
*freqOld: The sample frequency of the original data-set (Hz [1/s])
*FreqNew: The desired sample frequency (Hz [1/s])
*qFilter (optional): Switch for application of data filtering (1 = yes), default is no filtering.
*qPlot (optional): Switch for creating a random plot of one of the data-sets
(columns) to serve as a visual check. Default is no visualization.
*qLastValue: adds the last value filtered if qFilter = true), default is false.

引用

Cornelis P. Bogerd (2026). changeSampleFreq (https://jp.mathworks.com/matlabcentral/fileexchange/17188-changesamplefreq), MATLAB Central File Exchange. 取得日: .

MATLAB リリースの互換性
作成: R2007a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersAI for Signals についてさらに検索
バージョン 公開済み リリース ノート
1.0.0.0

It was found to be useful to have an option to give the last very last value. Such an option has been included.