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?

 Respuesta aceptada

Sugandhi
Sugandhi el 17 de Feb. de 2023

0 votos

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 –

Más respuestas (0)

Categorías

Etiquetas

Preguntada:

el 17 de Feb. de 2023

Respondida:

el 17 de Feb. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by