Add Laplacian noise to 1D data
조회 수: 15 (최근 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에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!