Asked by Mohammed Sayan
on 28 Jun 2013

Hi Folks,

I have a function f(x)=-x that starts from [-pi:pi] and I wanna repeat this function for a few periods of (2*pi) with the amplitude ranged between [pi to -pi].

I appreciate your response.

*No products are associated with this question.*

Answer by Roger Stafford
on 28 Jun 2013

Accepted answer

f(x) = mod(-x+pi,2*pi)-pi;

Roger Stafford
on 28 Jun 2013

Opportunities for recent engineering grads.

## 0 Comments