필터 지우기
필터 지우기

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 CenterFile Exchange에서 RF Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by