Plot attenuation against wavelength
조회 수: 1 (최근 30일)
이전 댓글 표시
How to Plot attenuation against wavelength?
댓글 수: 0
채택된 답변
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Multirate Signal Processing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!