given a time axis:t=lin​space(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

1 view (last 30 days)
mathlb use in digital filtering.

Answers (1)

Rick Rosson
Rick Rosson on 27 Oct 2014
n = randn(size(t));

Community Treasure Hunt

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

Start Hunting!