Convolution of two matrices

1 次查看(过去 30 天)
Let A,B,C,D, are vectors of size 3*1.
S=[A*B,C*D]. Here * is linear convolution. How to rearrange A,C together and B,D together to maintain the S result as same. Need help on this.

回答(1 个)

William Rose
William Rose 2022-2-3
A=rand(3,1); B=rand(3,1); C=rand(3,1); D=rand(3,1);
S1=[conv(A,B),conv(C,D)]; disp(S1)
0.5964 0.1768 0.9829 0.2741 1.4273 0.8505 0.8930 0.3858 0.4464 0.3428
S2=[conv(B,A),conv(D,C)]; disp(S2)
0.5964 0.1768 0.9829 0.2741 1.4273 0.8505 0.8930 0.3858 0.4464 0.3428
Do you consider this to be a rearrangment of A,C and B,D? It maintains S.
  1 个评论
Murali Krishna AG
No, I want to rearrange A & C in a matrix and B & D in another matrix.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by