Plot attenuation against wavelength

2 ビュー (過去 30 日間)
Hadeel M Y
Hadeel M Y 2020 年 8 月 24 日
回答済み: Shubham Rawat 2020 年 8 月 27 日
How to Plot attenuation against wavelength?

採用された回答

Shubham Rawat
Shubham Rawat 2020 年 8 月 27 日
Hi Hadeel,
Here is an example of Signal Attenuation Due to Rainfall:
c = physconst('lightspeed');
rr = 20.0;
freq = [1:1000]*1e9;
L = rainpl(10000,freq,rr);
wavelength = c./freq; % wavelength calculated by speed of light/frequency
semilogx(wavelength,L)
grid
xlabel('Wavelength (m)')
ylabel('Attenuation (dB)')

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by