<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="Courier New">Dear All,<br>
<br>
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:<br>
<br>
--> a = [1 2 3]'<br>
a = <br>
1.<br>
2.<br>
3.<br>
</font><br>
<font face="Courier New"><font face="Courier New">--> b = [4 5]'<br>
b = <br>
4.<br>
5.</font></font><br>
<font face="Courier New"><font face="Courier New">--> c =
convol(a, b)<br>
c =<br>
4. 13. 22. 15.<br>
<br>
If both input arguments have the same orientation, </font></font><font
face="Courier New"><font face="Courier New">I think </font></font><font
face="Courier New"><font face="Courier New">it should yield the
same orientation. Indeed, this is how conv() behaves:<br>
<br>
--> d = conv(a, b)<br>
d =<br>
4.<br>
13.<br>
22.<br>
15.<br>
<br>
If both arguments have different orientation, conv() keeps the
orientation of the first argument.<br>
<br>
Is there a reason why both functions behave differently?<br>
<br>
Regards,<br>
<br>
Federico Miyara<br>
<br>
</font></font><font face="Courier New"><font face="Courier New">
</font></font>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br /> <table style="border-top: 1px solid #D3D4DE;">
<tr>
<td style="width: 55px; padding-top: 18px;"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;" /></a></td>
<td style="width: 470px; padding-top: 17px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Libre de virus. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank" style="color: #4453ea;">www.avast.com</a> </td>
</tr>
</table>
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>