Message Boards Message Boards

2 Replies
0 Total Likes
View groups...
Share this post:

my question on FourierSequenceTransform

Posted 11 years ago
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]
The result of this line is 0

what went wrong ?
POSTED BY: jason gao
2 Replies
Posted 11 years ago
Thanks for your reply.  Really appreciate it.
I use ver  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.
POSTED BY: jason gao
Version 9.01, windows 7, I do not get zero
dtftall = FourierSequenceTransform[Sin[1/2 Pi n] + Cos[1/4 Pi n], n, w]

and the results are the same:
Simplify[dtftall - (dtft1 + dtft2)]
Which version are you using?
POSTED BY: Nasser M. Abbasi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract