I used the function cos(t) that I used in homework 1.
Periodic Function
Here is the function cos(t) sampled every 1 second. It is obviously not repeating.
File:Serekson periodic.jpg
Nonperiodic Function
Here is the function cos(t) sampled every $ \pi/2 $ seconds.
File:Serekson nonperiodic.jpg