フィルターのクリア

Filtering with non-zero initial conditions

1 回表示 (過去 30 日間)
Atique Malik
Atique Malik 2020 年 2 月 20 日
コメント済み: Atique Malik 2020 年 3 月 6 日
I have a matrix of time series data from an industrial furnace. The data is arranged in columns, and there are 9 columns of data. The length is about 15000 and there are 9 temperatures. So in this 15000 by 9 matrix (15000 rows and 9 columns) the 9 columns represent the individual temperature. The first row in the matrix is the oldest data, and the last row is the most recent. I want to filter this using one of the filter functions. Basically, I want to filter out noise by applying a 1 minute or 2 minute filter. The problem is that these temperatures range from about 450 F to about 610 F. I do not want to see a zero initial condition. What function should I use and how should I set it ?
  2 件のコメント
Rik
Rik 2020 年 3 月 4 日
Do you have the time difference for each of these rows? Some kind of moving average may be what you need.
Atique Malik
Atique Malik 2020 年 3 月 4 日
You could be right. This is sampled data from an industrial process. The dT is 30 seconds between samples.

サインインしてコメントする。

採用された回答

Rik
Rik 2020 年 3 月 5 日
See if the code below works for your purpose.
totaltime=2;%in minutes
samplerange=totaltime/0.5;%30 seconds/row
data=randi([450 610],15000,9);%generate some random data
output=movmean(data,samplerange,2);
  1 件のコメント
Atique Malik
Atique Malik 2020 年 3 月 6 日
Thanks. I am trying it out now

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSignal Generation and Preprocessing についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by