Add Laplacian noise to 1D data
7 次查看(过去 30 天)
显示 更早的评论
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 个评论
Askic V
2023-2-17
I suggest you to look in this thread:
BTW, which randl function you're talking about?
采纳的回答
Sugandhi
2023-2-17
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Random Number Generation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!