Plot attenuation against wavelength

4 visualizaciones (últimos 30 días)
Hadeel M Y
Hadeel M Y el 24 de Ag. de 2020
Respondida: Shubham Rawat el 27 de Ag. de 2020
How to Plot attenuation against wavelength?

Respuesta aceptada

Shubham Rawat
Shubham Rawat el 27 de Ag. de 2020
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)')

Más respuestas (0)

Categorías

Más información sobre Spectral Measurements en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by