フィルターのクリア

Why I am getting negative values in my low pass filter results?

7 ビュー (過去 30 日間)
Zahra
Zahra 2023 年 4 月 8 日
回答済み: Sam Chak 2023 年 4 月 11 日
Why I am getting negative values in my low pass filter ?
  2 件のコメント
Vilém Frynta
Vilém Frynta 2023 年 4 月 8 日
You're not making it easy for us to help you. Provide your data, your code etc.
Image Analyst
Image Analyst 2023 年 4 月 11 日
If you have any more questions, then attach your data and code to read it in with the paperclip icon after you read this:

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

回答 (1 件)

Sam Chak
Sam Chak 2023 年 4 月 11 日
Since you asked, I'm guessing the input values are negative.
t = linspace(0, 10, 1001);
lpf = tf(1, [1 1]) % Low-pass Filter
lpf = 1 ----- s + 1 Continuous-time transfer function.
u = ones(1, length(t));
lsim(lpf, -u, t), ylim([-1.2 0])

カテゴリ

Help Center および File ExchangeMatched Filter and Ambiguity Function についてさらに検索

タグ

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by