问题比较简单,直接给程序。看不懂再问a,b是两个向量,N是循环卷积点数,要变动可以自己改clc;cleara=[1 2 3 4 5];b=[1 1 ];N=3;tmp=conv(a,b);if N zeropadding = N-mod(length(tmp),N); tmp=[tmp zeros(1,zeropadding)]; tmp=reshape(tmp,N,length(tmp)/N); reshlt = sum(tmp,2)'else result = tmpend