sampling

8 views (last 30 days)
john
john on 4 Apr 2011
Hello to everyone,
I want to draw a period of y=sin(x) function and take 10 samples with the same interval among them. Next, to each sample I want to add a random value of noise, which value must come from the Gaussian distribution N(0,1).Could someone help me?
Thanks in advance

Accepted Answer

bym
bym on 4 Apr 2011
doc linspace
doc randn

More Answers (1)

Prathamraj  Chauhan
Prathamraj Chauhan on 25 Jan 2022
Clc

Tags

Community Treasure Hunt

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

Start Hunting!