Matrix Multiplication in MATLAB

1. Open your command window

2. Type your variable matrix, say x having 3 columns and 3 rows. Type the matrix as shown below.

3. Hit enter

4. Type the other matrix, say, y with which you want to multiply. Type the variable as shown.

5. Hit enter

6. Set the new variable, say, z which you want the matrix to come in.

7. Type the variable, z= x*y, and hit enter.

23 views0 comments

Recent Posts

See All