smultiplication of matrix element
Show older comments
If I have a matrix A, 5X8 matrix, how can I generate a new matrix B 5X4, in which the first column is the product of the first two columns of A, (element by element), the second column is the product of column 3 and 4 of A, and soon. Of course, i am interested in an efficient code because I will have to work with a very large matrix. Please advise any thoughts are greatly appreciated. Many thanks
Accepted Answer
More Answers (0)
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!