フィルターのクリア

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 Center および File ExchangeFourier Analysis and Filtering についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by