construct a combination matrix from elements of two matrices
45 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi all,
I have two matricesAand B, as shown below. Each element is then extended into two which doubles each row, i.e., this gives extended matrices. What I need to get is the combination between all of these extended elements (for each original row) as shown on the right of the figure where, for example, means the multiplication of all these elements. As a result, each combination matrix should be containing all possible combinations, but I am struggling to know how to get it.
Any help would be appreicted.
Thanks.
1 Kommentar
David Goodmanson
vor etwa 10 Stunden
Hi LH, looking at the 'all possible combinations' in the upper right box above, and ignoring the subscripts which are always 1, and ignoring the primed a's and b's for the moment, you have three combinations:
a1b1, a1b2, a2b1, where these are superscripts. Is there a reason not to have a2b2 ?
Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!