Add Laplacian noise to 1D data
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Elysi Cochin
am 17 Feb. 2023
Beantwortet: Sugandhi
am 17 Feb. 2023
White gaussian noise can be added using the below function
out = awgn(in,snr)
Is there a function that can add Laplacian noise? Is it using this randl function?
1 Kommentar
Askic V
am 17 Feb. 2023
I suggest you to look in this thread:
BTW, which randl function you're talking about?
Akzeptierte Antwort
Sugandhi
am 17 Feb. 2023
Hi,
I understand that you are searching for a function that can add Laplacian noise to 1D data.
R = randl(N) returns an N-by-N matrix containing pseudorandom values drawn from the Laplacian distribution. randl(M, N) or randl([M,N]) returns an M-by-N matrix.
To add Laplacian noise to your data you can use this randl function.
For more understanding, kindly go through the following links –
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Random Number Generation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!