I am new to Mathematica. I try to do a DTFT using FourierSequenceTransform of sin()+cos(). The following are my attempts with different results. How to explain the difference
attempt 1:
dtft1=FourierSequenceTransform[Sin[1/2 Pi n], n, w]
dtft2=FourierSequenceTransform[Cos[1/4 Pi n],n, w]
This (dtft1+dtft2) gives the correct result
attempt 2:
dtftall=FourierSequenceTransform[Sin[1/2 Pi n]+Cos[1/4 Pi n], n, w]
Thanks for your reply. Really appreciate it.
I use ver 8.0.4.0. windows 7. Obviously, there might be a little unexpected behaviour here with Ver. 8. I don’t know what to do. I am currently thinking about upgrading to the latest version.