how to add noise to my data
11 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello. Suppose that I have a sensor connected to my unmanned air vehicle, that measures the height of the each point it sees on the surface. The sensor measures with %1 error, such as adding random noise to the actual height value. How can I generate such a data, say 500 values each of which is generated by %1 error?
0 comentarios
Respuestas (2)
Azzi Abdelmalek
el 14 de Feb. de 2013
Editada: Azzi Abdelmalek
el 14 de Feb. de 2013
Example
t=0:0.1:100
y=sin(0.1*t) % Your signal
yd=y+rand(1,numel(y)).*y/100 % diturbed signal
plot(t,y,'r',t,yd,'g')
er=abs((yd-y)./y)
piyawat
el 2 de Feb. de 2023
hello , i have a dataset that i want to add noise into to simulate how differential privacy works in smart metering. Do anyone know how i can achieve this thanks.
0 comentarios
Ver también
Categorías
Más información sobre Propagation and Channel Models en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!