title: What is the difference between filter and conv in Matlab?
body: <p>I am trying to calculate the output of a <a href="https://en.wikipedia.org/wiki/Linear_time-invariant_system" rel="noreferrer">LTI system</a>. I came across two different Matlab functions that are supposed to be appropriate for the job: <a href="https://it.mathworks.com/help/matlab/ref/filter.html" rel="noreferrer"><code>filter</code></a> and <a href="https://it.mathworks.com/help/matlab/ref/conv.html" rel="noreferrer"><code>conv</code></a>. What is the difference between the two of them?</p>