No BSD License  

Highlights from
Automatic Spectral Analysis

from Automatic Spectral Analysis by Stijn de Waele
Automatic spectral analysis for irregular sampling/missing data, analysis of spectral subband.

iseven(x)
function even = iseven(x)

%function even = iseven(x)
% Checks if x is even.
% 

even = 2*floor(x/2) == x;

Contact us at files@mathworks.com