I have to make an array that has 21 numbers from 0-5
They are supposed to be bins for a distribution
I am assuming what is being asked for is an array that has 21 numbers of equally spaced numbers
so the edges are
|0 to 0.2381|0.2381 to 0.4762|... and so on
How can I do this efficiently in matlab?
I can do this with a for loop, but is there a better way?