필터 지우기
필터 지우기

How to generate a signal with zero mean and 0.2 variance (uniform)

조회 수: 1 (최근 30일)
Dick Rusell
Dick Rusell 2014년 9월 19일
편집: Dick Rusell 2014년 9월 19일
I was wondering how to generate this signal, and to mix it with xn that I already made:
n = [0:1023];
omega = 0.25*pi;
xn = sin(omega*n);
plot(n,xn);
I also need to find the SNR of the combined signal and plot the magnitude spectrum if possible.

답변 (1개)

Matt J
Matt J 2014년 9월 19일
Some useful commands: randn, fft, abs, angle

카테고리

Help CenterFile Exchange에서 Fourier Analysis and Filtering에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by