title: Sum all the numbers between two indices in Matlab
body: <p>My 1x500 matrix consist of numbers, I want to sum all the numbers between two indices, lets say between 100 and 300. Forgot how to do that, help would be appreciated.</p>