error message “you might need a Statistics and Machine Learning Toolbox”

I am using the following function in two computers, random(‘Normal’,0,100,nstates,nactions) This generates a random numbers from 0 to 100 in a Normal Distribution in an nstates x nactions matrix. Thing is, I do not have a Statistics and Machine Learning toolbox in my other computer so it returns an error message. Can I write my own function for this? Thanks


Link to Full Article: error message “you might need a Statistics and Machine Learning Toolbox”