フィルターのクリア

Error using rf.internal.checkfreq Expected Frequencies to be nonnegative.

2 ビュー (過去 30 日間)
Bárbara Matos
Bárbara Matos 2022 年 4 月 18 日
編集済み: Anjaneyulu Bairi 2024 年 1 月 10 日
Hello! I am trying to run the code presented in image 1 and it appears an error. I realize it's because I can't have negative frequencies. But I don't understand why. I want to center the frequencies of the signal at zero and for that I'm looking for a way to be able to use negative frequencies. Any suggestion? Thanks
  1 件のコメント
Da Huang
Da Huang 2023 年 6 月 10 日
the default sparameter object does not support negative frequency value. You will have to create your own object/structure to host your data.
all snp files are expecting to have nonnegative frequency values.

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

回答 (1 件)

Anjaneyulu Bairi
Anjaneyulu Bairi 2024 年 1 月 10 日
編集済み: Anjaneyulu Bairi 2024 年 1 月 10 日
Hi,
I understand that you are trying to use negative values of frequencies in “sparameters” function from RF toolbox. This is happening because sfrequency value provided along with the “sparameters” function should only be positive real numbers.
You can visit the documentation below for more information:.
Hope it helps to resolve your query.

カテゴリ

Help Center および File ExchangeRF Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by