Noise

addnoise(M, p, n) Returns matrix M with added noise, with probability p/2 to add or subtract n to or from the pixel intensity.

Arguments:

Notes: