"Charlene " <email@example.com> wrote in message <firstname.lastname@example.org>... > Hey I'm Currently studying Signals and Systems and I'm a relatively new user on MATLAB. I'm Wondering How do i Sample a sine wave at Nyquist rate on MATLAB. I now how to generate a sine wave. I also need some help in its reconstruction. > > > Thanks
You have to sample FASTER than the Nyquist rate.
For a sine wave the Nyquist rate is twice per period. So if you sample at t=0 and t= T/2 , you are in trouble because A*sin(2*pi*t/T) = 0 at both places, losing any information about A..
That is why, in important($) work you must filter all frequencies at and above the Nyquist frequency before using frequency transform analysis