Blinking lights MSP430 FG461x

I have been working on MSP430 [http://en.wikipedia.org/wiki/TI_MSP430] for sometime now. It is an TI ([Texas Instruments]( http://maps.google.com/maps?ll=32.909256,-96.751054&spn=

Sampling of a Sinusoidal Signal and finding the DTFT

The question was : Write a MATLAB [http://en.wikipedia.org/wiki/MATLAB] function, x = SinSamples(A, w, θ, d, ws), that generates a discrete-time sinusoidal signal x[n] obtained by sampling x(t)