spl_meter function output vlaue difference

1 回表示 (過去 30 日間)
hamin je
hamin je 2021 年 9 月 6 日
コメント済み: hamin je 2021 年 9 月 8 日
hi i want 1/3 octave band db
so i use spl_meter function
but I put the same value into the same function, but the value that comes out is different.
I want to know reason this sitution

採用された回答

jibrahim
jibrahim 2021 年 9 月 7 日
Hi Hamin,
splMeter contains filters that remember the previous output, i.e. it has states. You should not expect the same input to give the same output. If you want to discard states (the effect of the previous input), call release first:
y = spl(x);
release(spl)
y2 = spl(x); % y and y2 are equal
Also, make sure x is a column vector, not a row vector, A 1-by-N row vector is treated as N indepedent channels of data, with one sample each.
  1 件のコメント
hamin je
hamin je 2021 年 9 月 8 日
Thank you

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMeasurements and Spatial Audio についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by