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

2 vues (au cours des 30 derniers jours)
mathlb use in digital filtering.

Réponses (1)

Rick Rosson
Rick Rosson le 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!

Translated by