sawtooth 函数 1 Q2 K' B. `& e7 ]% R 7 @" N, \+ V2 P( S' Kx = sawtooth(t) generates a sawtooth wave with period 2π for the elements of the time array t. sawtooth is similar to the sine function but creates a sawtooth wave with peaks of –1 and 1. The sawtooth wave is defined to be –1 at multiples of 2π and to increase linearly with time with a slope of 1/π at all other times. # W* R9 m+ n1 J8 T! y& _$ }3 b: ^0 |1 K% e3 O7 a5 R; h