matlab中关于卷积有一个这样的例子 conv([1 1 1],[1 1 1]) 运行后的结果为 1 2 3 2 1
来源:学生作业帮 编辑:搜搜做题作业网作业帮 分类:综合作业 时间:2024/08/20 03:27:40
matlab中关于卷积有一个这样的例子 conv([1 1 1],[1 1 1]) 运行后的结果为 1 2 3 2 1
![matlab中关于卷积有一个这样的例子 conv([1 1 1],[1 1 1]) 运行后的结果为 1 2 3 2 1](/uploads/image/z/16807362-42-2.jpg?t=matlab%E4%B8%AD%E5%85%B3%E4%BA%8E%E5%8D%B7%E7%A7%AF%E6%9C%89%E4%B8%80%E4%B8%AA%E8%BF%99%E6%A0%B7%E7%9A%84%E4%BE%8B%E5%AD%90+conv%28%5B1+1+1%5D%2C%5B1+1+1%5D%29+%E8%BF%90%E8%A1%8C%E5%90%8E%E7%9A%84%E7%BB%93%E6%9E%9C%E4%B8%BA+1+2+3+2+1)
卷积的意思简单的理解就是我们学过的多项式的乘法.
假设这个运行
conv([a b],[c d])
则结果为
ac ad+bc bd
那么上面的式子的求解过程为
conv([1 1 1],[1 1 1])
1*1=1
1*1+1*1=2
1*1+1*1+1*1=3
1*1+1*1=2
1*1=1
你可以在matlab中使用help conv来看看
CONV Convolution and polynomial multiplication.
C = CONV(A,B) convolves vectors A and B.The resulting vector is
length MAX([LENGTH(A)+LENGTH(B)-1,LENGTH(A),LENGTH(B)]).If A and B are
vectors of polynomial coefficients,convolving them is equivalent to
multiplying the two polynomials.
C = CONV(A,B,SHAPE) returns a subsection of the convolution with size
specified by SHAPE:
'full' - (default) returns the full convolution,
'same' - returns the central part of the convolution
that is the same size as A.
'valid' - returns only those parts of the convolution
that are computed without the zero-padded edges.
LENGTH(C)is MAX(LENGTH(A)-MAX(0,LENGTH(B)-1),0).
假设这个运行
conv([a b],[c d])
则结果为
ac ad+bc bd
那么上面的式子的求解过程为
conv([1 1 1],[1 1 1])
1*1=1
1*1+1*1=2
1*1+1*1+1*1=3
1*1+1*1=2
1*1=1
你可以在matlab中使用help conv来看看
CONV Convolution and polynomial multiplication.
C = CONV(A,B) convolves vectors A and B.The resulting vector is
length MAX([LENGTH(A)+LENGTH(B)-1,LENGTH(A),LENGTH(B)]).If A and B are
vectors of polynomial coefficients,convolving them is equivalent to
multiplying the two polynomials.
C = CONV(A,B,SHAPE) returns a subsection of the convolution with size
specified by SHAPE:
'full' - (default) returns the full convolution,
'same' - returns the central part of the convolution
that is the same size as A.
'valid' - returns only those parts of the convolution
that are computed without the zero-padded edges.
LENGTH(C)is MAX(LENGTH(A)-MAX(0,LENGTH(B)-1),0).
我的matlab里怎么没有卷积conv函数
求在matlab中不用conv函数直接实现离散卷积的编程
例1:运行下列程序后显示结果为_____
亲,用matlab计算下面两序列的线性卷积g[n]={3,4,-2,0,1,-4},h[n]={1,-3,0,4,-2,
matlab中 conv表示卷积?gggfconv?ggfconv?
什么是矩阵卷积?在matlab的help里看到矩阵卷积函数的介绍,q = conv(p,p),p是一个向量,请问矩阵卷积
概率论卷积公式问题这道题第一问 我用卷积公式把Y=(Z-X)/2求出来就是错的 和结果少了个1/2用
MATLAB怎么创建一个136*136矩阵,对角线为16*16的1矩阵.例子如下:
以下程序在运行是时,输入变量a的值为1,变量b的值为2,写出程序的运行结果
matlab 不用conv求卷积
matlab中的conv表示什么样的序列卷积?是两个从零开始的序列的卷积吗?请举个例子
我的MATLAB程序运行这条指令时老是出不了结果 quad('x.*log(1+x)',0,1); 程序根本没有显示结果