Re: Convolution of different sized arrays

2011-07-26 Thread Billy Mays
On 07/26/2011 08:10 AM, Olenka Subota wrote: If anyone of you can help, please do it.. Thanks! You would probably get a better answer asking on one of the mailing lists here: http://new.scipy.org/mailing-lists.html -- http://mail.python.org/mailman/listinfo/python-list

Convolution of different sized arrays

2011-07-26 Thread Olenka Subota
Hello all, I need your help. I have to simulate a filter whose transfer function is a step fct, and I wrote it as a column-vector of Ns elements : >>> h=ones(3,dtype=float) >>> print h [ 1. 1. 1.] >>> h=reshape(h,(3,1)) >>> h array([[ 1.], [ 1.], [ 1.]]) In this case Ns=3 for simp