r = randn(n) returns an n-by-n matrix containing pseudorandom values drawn from the standard normal distribution.
( ): used for indexing
[ ]: used to concatenate numbers, matrix, vectors
{ }: used to represent cell-array
%Read image and convert it into double
y=im2double(imread(image1.pgm'));
% Add the AWGN to the original image y with a zero mean and a standard deviation 'sigma'
z = y + (sigma/255)*randn(size(y));
% Add the AWGN to the original image y with a mean of 25 and a standard deviation 'sigma'
z = y + (25 + (sigma/255)*randn(size(y)));
Subscribe to:
Post Comments (Atom)
Mounting USB drives in Windows Subsystem for Linux
Windows Subsystem for Linux can use (mount): SD card USB drives CD drives (CDFS) Network drives UNC paths Local storage / drives Drives form...
-
I. Five different ways to answer a question II. Use SOLO strategies to explain our thinking and reasoning III. SOLO Taxono...
-
Learning levels 1, 2, and 3 Learning levels 4, 5, and 6 References http://www.cccs.edu/Docs/Foundation/SUN/QUESTIONS%20FOR%20TH...
No comments:
Post a Comment