Dear All,

The function convol() used to compute the discrete convolution between two signals yields always a row vector, regardless of the orientation of the input vectors:

--> a = [1 2 3]'
 a  =
   1.
   2.
   3.

--> b = [4 5]'
 b  =
   4.
   5.
--> c = convol(a, b)
 c  =
  4.   13.   22.   15.

If both input arguments have the same orientation, I think it should yield the same orientation. Indeed, this is how conv() behaves:

--> d = conv(a, b)
 d  =
   4.
   13.
   22.
   15.

If both arguments have different orientation, conv() keeps the orientation of the first argument.

Is there a reason why both functions behave differently?

Regards,

Federico Miyara



--
El software de antivirus Avast ha analizado este correo electrónico en busca de 
virus.
https://www.avast.com/antivirus
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

Reply via email to