I have a function
x = 0:0.05:5.05
eta = 2*rand()-1
y = sin(x) + cos(x) + eta*0.1
This plots a smooth curve where eta is a fixed value for every point from 0:0.05:5.05
I want eta to change for every alue from 0:0.05:5.05
How do i do this?
I have a function
x = 0:0.05:5.05
eta = 2*rand()-1
y = sin(x) + cos(x) + eta*0.1
This plots a smooth curve where eta is a fixed value for every point from 0:0.05:5.05
I want eta to change for every alue from 0:0.05:5.05
How do i do this?