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