Probability space map done in MatLAB