Plot attenuation against wavelength

조회 수: 4 (최근 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 CenterFile Exchange에서 Spectral Measurements에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by