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
Show older comments
mathlb use in digital filtering.
1 Comment
John D'Errico
on 24 Oct 2014
Edited: John D'Errico
on 24 Oct 2014
It is MATLAB. And read the help for randn.
Answers (1)
Rick Rosson
on 27 Oct 2014
n = randn(size(t));
Categories
Find more on Correlation and Convolution 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!