mercredi 8 septembre 2021

How to generate a vector of random numbers knowing the standard deviation and the mean (matlab)?

I would like to generate a vector of 20 random numbers knowing the standard deviation, the mean and contaning two 0 values. Is it possible?

These are the desired values of mean and standard deviation:
Mean: 3.3 Standard deviation: 25%

This seems to work fine: https://fr.mathworks.com/help/matlab/math/random-numbers-with-specific-mean-and-variance.html however, I need to have in my vector two 0 values.




Aucun commentaire:

Enregistrer un commentaire