Add Laplacian noise to 1D data

7 ビュー (過去 30 日間)
Elysi Cochin
Elysi Cochin 2023 年 2 月 17 日
回答済み: Sugandhi 2023 年 2 月 17 日
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
Askic V 2023 年 2 月 17 日
I suggest you to look in this thread:
BTW, which randl function you're talking about?

サインインしてコメントする。

採用された回答

Sugandhi
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 件)

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by