Given matrix m, return matrix n such that, rows of n are result of multiplication of the rows of the input matrix
m = [ 1 2 3
4 5 6
7 8 9 ]
n = [ 1 2 6
4 20 120
7 56 504 ]
So many choices
Is it an Armstrong number?
Hard limit function
Multiply by 3
Create an index-powered vector
Sum of diagonals elements of a matrix
Matrix rotation as per given angle
Let's get back to school, and create multiplication tables
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office