T0 is 0.07. This value is too large. It is very close to the value of the period. 0.07 vs. 0.0769. With the value set to T0, It is sampling the signal once every period. To solve this just make the value of T0 very small compared to the period.

Alumni Liaison

Ph.D. 2007, working on developing cool imaging technologies for digital cameras, camera phones, and video surveillance cameras.

Buyue Zhang