Is there an equivalent of the Python range function in MATLAB?
Yes, there is the : operator. The command -10:5:11 would produce the vector [-10, -5, 0, 5, 10];
Is there an equivalent MATLAB function for the range() function in Python?
I'd really like to be able to type something like range(-10, 11, 5) and get back [-10, -5, 0, 5, 10] instead of having to write out the entire range by hand.