Project Euler 1 - Multiples of 3 or 5 - Solved with Matlab

The first Project Euler problem - Multiples of 3 and 5 - is stated as follows. Find the sum of all the multiples of 3 or 5 below 1000.

% Create a range from 1 to 999.
range = [1:999];

% Find all values that are multiples of 3 and/or 5.
multiples = find(mod(range,3) == 0 | mod(range,5) == 0);

% Sum multiples and echo.
sum(multiples)