digital signal processing problem
4 views (last 30 days)
Show older comments
please i really need help in solving this problem:
A random process is defined by x(t) = A cos(2*pi*f0*t+Φ), 0≦t≧T, where A and f0 are constants and Φ is uniformly distributed random variable in the range -pi≦Φ≧pi . Generate samples (at the rate fs=80kHz ) over a time interval of length T. Choose the signal length T so that you get about 900 to 1000 samples of the simulated analog signal x(t).
i)Plot the time signal with the function plot so that the samples are connected. Make sure that you label the time axis of the simulated analog signal.
ii)Find the autocorrelation of the signal and plot it.
iii)Find the Fourier transform of the autocorrelation and plot it.
1 Comment
Wayne King
on 4 Oct 2012
Hi Jamal, this is clearly a homework problem. What have you done to try and solve your homework problem?
Answers (2)
Wayne King
on 4 Oct 2012
Edited: Wayne King
on 5 Oct 2012
If your sampling frequency is 80 kHz, then to obtain 900 to 1000 samples, T must be between 0.0113-(1/80e3) and 0.0125-(1/80e3) seconds. If you have between 900 and 1000 samples, then that will take
num_samples*dt
seconds, where num_samples is the number of samples and dt is the sampling interval.
You can use rand() to sample a phase angle from -pi to pi. For example, to get one such angle.
phi = -pi+2*pi*rand(1);
0 Comments
See Also
Categories
Find more on Measurements and Statistics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!