digital signal processing problem

조회 수: 3 (최근 30일)
Jamal
Jamal 2012년 10월 4일
please i really need help in solving this problem:
A random process is defined by x(t) = A cos(2*pi*f0*t+Φ), 0tT, 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
Wayne King
Wayne King 2012년 10월 4일
Hi Jamal, this is clearly a homework problem. What have you done to try and solve your homework problem?

댓글을 달려면 로그인하십시오.

답변 (2개)

Jamal
Jamal 2012년 10월 4일
i don't have problem with matlab function that should be used to solve. my problem is to how to find T how can chose A & phi. i don't want whole solution i need only guide.

Wayne King
Wayne King 2012년 10월 4일
편집: Wayne King 2012년 10월 5일
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);

카테고리

Help CenterFile Exchange에서 Measurements and Statistics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by