Convolution of two matrices

1 Ansicht (letzte 30 Tage)
Murali Krishna AG
Murali Krishna AG am 3 Feb. 2022
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.

Antworten (1)

William Rose
William Rose am 3 Feb. 2022
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 Kommentar
Murali Krishna AG
Murali Krishna AG am 4 Feb. 2022
No, I want to rearrange A & C in a matrix and B & D in another matrix.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by