the Gibbs phenomenon graphic in matlab , you can change the number of armonics by changing the N value