Point symmetry, linear average and DC offset [Matlab]

Plot of point symmetric function
Spread the word!

The Matlab code can be used to create a point symmetric function with respect to a given point of symmetry.

It also shows the principle that:

The linear average of a point symmetric function is equal to its DC offset.


If a function f(x) is point symmetric with respect to any point on the x-axis, its linear average (as well as its integral from -infinity to +infinity) is zero.

Let’s see the code:

Sample output:


As expected, the area under the curve (considering it negative when the function is negative) corresponds to the area below the linear average line (equal to the offset * period).

Be the first to comment

Leave a Reply

Your email address will not be published.