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 visualizzazione (ultimi 30 giorni)
mathlb use in digital filtering.

Risposte (1)

Rick Rosson
Rick Rosson il 27 Ott 2014
n = randn(size(t));

Community Treasure Hunt

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

Start Hunting!

Translated by