How to multiply dimension matrix ???
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Oman Wisni
am 15 Nov. 2018
Kommentiert: Oman Wisni
am 15 Nov. 2018
Hi, I have matrix with dimension like below :
A = 220 x 1;
B = 220 x 11;
I want
C = 1 x 11
Im trying this code
C = bsxfun(@times,A,B);
the result is C = 220 x 1.
Is there possible I get result C = 1 x 11 ???
any help will be must appreciated. Thanks
2 Kommentare
Akzeptierte Antwort
madhan ravi
am 15 Nov. 2018
Bearbeitet: madhan ravi
am 15 Nov. 2018
clear all
A=rand(220,1)'; %AN EXAMPLE
B=rand(220,11);
A*B
8 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Resizing and Reshaping Matrices 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!