Initialize random number generator in MATLAB

random number MATLAB rng

This is done at the beginning of each section so that each section can be run separately
Seed values 0 and 0 are used in the book


function initializerandomseeds()

%This is mainly used in selecting initial points for algorithms

%This one is used in random sampling of patches from images


Leave a Reply

Your email address will not be published. Required fields are marked *

forty six − thirty six =