Convolution of two matrices

1 回表示 (過去 30 日間)
Murali Krishna AG
Murali Krishna AG 2022 年 2 月 3 日
コメント済み: Murali Krishna AG 2022 年 2 月 4 日
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
Murali Krishna AG 2022 年 2 月 4 日
No, I want to rearrange A & C in a matrix and B & D in another matrix.

サインインしてコメントする。

カテゴリ

Help Center および File Exchange2-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