What values do I need to put in

조회 수: 1 (최근 30일)
Gökalp Ugurlu
Gökalp Ugurlu 2021년 5월 29일
답변: darova 2021년 5월 30일
Consider a signal transmitted through free space to a receiver located at distance d from the transmitter. Assume there are no obstructions between the transmitter and receiver and the signal propagates along a straight line between the two. The channel model associated with this transmission is called a line-of-sight (LOS) channel, and the corresponding received signal is called the LOS signal or ray. For this question, the effect of free-space path loss can be expressed with Sr St = λ 4πd (3) where Sr and St are the received and transmitted signal amplitudes, respectively. Here, λ represents the wavelength. Therefore received signal amplitude of a monochromatic wave can be given as Sr(t) = A λ 4πdcos(2πfct). (4) In this expression, A is the wave amplitude at the transmitter, fc denotes the carrier frequency of the wave and t denotes the time. Write a MATLAB script by using animatedline function to create an animation of given wave propagating in free space for 500 meters. Your animation plot should also show Sr(t) value simultaneously on your legend. Please do not forget to name the axes properly. The expected outcome of an instant is given in Fig. 1. For more details, please check the video file. While creating the wave, take the speed of light (wave) c = 3 × 108 m/s, fc = 5 MHz and A = 100 V

답변 (1개)

darova
darova 2021년 5월 30일
What about this?
x = 0:40;
y = sin(x)./x;
plot(x,y)

카테고리

Help CenterFile Exchange에서 Animation에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by