Convolution of a size-one pulse with itself

27 views
Skip to first unread message

Mark Wiebe

unread,
Jan 2, 2015, 12:51:27 AM1/2/15
to sy...@googlegroups.com
I've tried a few different ways to get sympy to integrate a convolution of a pulse from -0.5 to 0.5 with itself, but everything I try produces exceptions or what looks like incorrect results. I've got a gist showing a couple of my attempts at http://nbviewer.ipython.org/gist/mwiebe/48bed4e5d52335c47e25 . I worked this out with pen+paper, but wanted to show how nicely one could use sympy to derive it, only to find that everything I try fails. Any suggestions for this, or is this something I shouldn't expect sympy to be able to do?

Thanks,
Mark

Matthew Rocklin

unread,
Jan 2, 2015, 11:28:07 PM1/2/15
to sy...@googlegroups.com
Hrm, that is unfortunate.  Hopefully the issue helps.  I've taken the liberty of renaming it to terms that I think will stand out in Sympain's minds,

--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/af263990-8900-454b-b0e7-726038f59e50%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mark Wiebe

unread,
Jan 3, 2015, 12:23:38 AM1/3/15
to sy...@googlegroups.com
Wikipedia has a nice rendered .gif which shows this convolution visually:

Reply all
Reply to author
Forward
0 new messages