conv
Convolution and polynomial multiplication
Syntax
w = conv(u,v)
w = conv(u,v,shape)
Description
w = conv(u,v)返回向量u和v的卷积。如果u和v是多项式系数的向量,则对它们进行卷积相当于将两个多项式相乘。
w = conv(
returns a subsection of the convolution, as specified by u,v
,shape
)shape
. For example, conv(u,v,'same')
returns only the central part of the convolution, the same size as u
, and conv(u,v,'valid')
returns only the part of the convolution computed without the zero-padded edges.
w = conv(u,v,shape)返回卷积的子部分,由形状指定。
例如,conv(u,v,'same')仅返回卷积的中心部分ÿ