フィルターのクリア

Select samples from plot

3 ビュー (過去 30 日間)
Miguel Albuquerque
Miguel Albuquerque 2022 年 6 月 10 日
回答済み: KSSV 2022 年 6 月 10 日
Hey to all, this is probably very easy, but im struggling with it, thanks in advance. I have the spectrum of a signal represented in the image above. I need to select samples from x axis(frequency) where y axis is superior to -140dB.
Basiccaly I want two things, select the samples from x where y is superior to -140 and select y samples where y is superior to -140. I was thinking of using the find function, right?

採用された回答

KSSV
KSSV 2022 年 6 月 10 日
Let f be your x-axis i.e. frequency values and s be your y-axis i.e. specturm values.
idx = s > -140 ;
x1 = x(idx) ;
s1 = s(idx) ;

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSpectral Measurements についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by