want to multiply two matrices each time in a particular position according to randperm matrix position
1 view (last 30 days)
Show older comments
hi all, i want to multiply 2 50 x 50 matrix, according to the position of reandperm matrix. i.e first i ll generate randperm matrix, it consists of 50 elements. Now according to the elements in randperm ie if the first element is 20,i want to multiply 20 th position element in the both matrix. like this i have to multiply all 50 positions and have to sum it. how to do it in matlab. If anyone know, Pls suggest me too.
1 Comment
See Also
Categories
Find more on Operating on Diagonal Matrices 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!