This is where navigation should be.

PEVEN - Even part of periodic function

Usage

fe=peven(f);
fe=peven(f,dim);

Description

peven(f) returns the even part of the periodic sequence f.

peven(f,dim) does the same along dimension dim.