how to add noise to my data
11 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (2)
Azzi Abdelmalek
il 14 Feb 2013
Modificato: Azzi Abdelmalek
il 14 Feb 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
il 2 Feb 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 Commenti
Vedere anche
Categorie
Scopri di più su Propagation and Channel Models in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!