matlab中的conv2是用于对二维数据进行卷积运算,有三个参数可供选择,下面是help content of conv2
conv2 Two dimensional convolution.
C = conv2(A, B) performs the 2-D convolution of matrices A and B.If [ma,na] = size(A), [mb,nb] = size(B), and [mc,nc] = size(C), then
mc = max([ma+mb-1,ma,mb]) and nc = max([na+nb-1,na,nb]).
C = conv2(H1, H2, A) first convolves each column of A with the vector
H1 and then convolves each row of the result with the vector H2. If
n1 = length(H1), n2 = length(H2), and [mc,nc] = size(C) then
mc = max([ma+n1-1,ma,n1]) and nc = max([na+n2-1,na,n2]).
conv2(H1, H2, A) is equivalent to conv2(H1(:)*H2(:).', A) up to
round-off.
C = conv2(..., SHAPE) returns a subsection of the 2-D
convolution with size

本文介绍了MATLAB中用于二维数据卷积的conv2函数,重点讲解了full, same, valid三种不同参数设置的区别。通过实例展示了它们在运算过程中的具体表现。"
132635533,15263287,JAVA汽车年审管理系统设计与实现,"['JAVA', '汽车', '课程设计', 'SSM']

3万+

被折叠的 条评论
为什么被折叠?



