how to add rayleigh noise in images
Show older comments
i would like to know how to add noise in matlab code
1 Comment
Graceline Jasmine
on 20 Feb 2018
Using raylrnd() function
Answers (1)
Graceline Jasmine
on 20 Feb 2018
0 votes
raylrnd: Rayleigh random numberscollapse all in page Syntax R = raylrnd(B) R = raylrnd(B,v) R = raylrnd(B,m,n)
Description R = raylrnd(B) returns a matrix of random numbers chosen from the Rayleigh distribution with scale parameter, B. B can be a vector, a matrix, or a multidimensional array. The size of R is the size of B.
R = raylrnd(B,v) returns a matrix of random numbers chosen from the Rayleigh distribution with parameter B, where v is a row vector. If v is a 1-by-2 vector, R is a matrix with v(1) rows and v(2) columns. If v is 1-by-n, R is an n-dimensional array.
R = raylrnd(B,m,n) returns a matrix of random numbers chosen from the Rayleigh distribution with parameter B, where scalars m and n are the row and column dimensions of R.
Examples r = raylrnd(1:5) r = 1.7986 0.8795 3.3473 8.9159 3.5182
Categories
Find more on ROI-Based Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!