given a time axis:t=linspace(0,10,512); and a signal x=3sin(5t)-6cos(9t). how do i add random noise n to obtain a noisy signal y=x+n. help me write a mathlab expression for random noise that will match my time axis. thanks
古いコメントを表示
mathlb use in digital filtering.
1 件のコメント
John D'Errico
2014 年 10 月 24 日
編集済み: John D'Errico
2014 年 10 月 24 日
It is MATLAB. And read the help for randn.
回答 (1 件)
Rick Rosson
2014 年 10 月 27 日
n = randn(size(t));
カテゴリ
ヘルプ センター および File Exchange で Signal Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!