# Matlab/Octave, 26 bytes <!-- language-all: lang-matlab --> I did not know about this built in so far=) polyarea(t(1:2:5),t(2:2:6))