Plot attenuation against wavelength

4 次查看(过去 30 天)
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