a number generation base on pareto disturbation formula in matlab and C++