Jewdai, you should really get your professor's lecture notes.
And loose the attitude
You're right about the Fourier Series being a special case of the Fourier Transform.
In fact, the Fourier Transform of periodic functions IS the Fourier Series.
The Fourier transform for a periodic function is the Fourier transform of just one period's worth data.
Nope. Again, the Fourier Transform of a periodic function IS its Fourier Series.
See, for instance, Oppenheim & Schaffer. I'm with it by my side right now. It's a truly enlightening book.
Roff is right when he said that the square wave (emphasis on wave) is an unbounded signal. Try to put a square function on an ADC without proper filtering. If the ADC is good enough (meaning that it has enough resolution to see the higher frequency harmonics, that are much weaker than the fundamental) or the frequency of the square wave is close to the sampling frequency (close enough for the third or fourth harmonic alias images to be seen) you WILL see aliasing. It's a fact. I have seen it at college.
Do you know, by the way, why is it impossible to obtain a square wave with sharp edges?
I wouldn't say you were wrong when I saw your mistake. We all make mistakes, it's normal. As it were off-topic, I decided to keep it to me.
But you're reply to Roff was really impolite.
Im thinking i should post my professors lecture notes on this, or let you guys play with the FFT algorithm on Matlab to work this one out.
Why so stuck up? This was unnecessary.
Castilho