Convolution of two matrices

1 visualización (últimos 30 días)
Murali Krishna AG
Murali Krishna AG el 3 de Feb. de 2022
Comentada: Murali Krishna AG el 4 de Feb. de 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.

Respuestas (1)

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

Iniciar sesión para comentar.

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by