Ready Prompt: Command Window

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

MATLAB Online R2023b 27/02/24, 8:47 PM

HOME PLOTS APPS EDITOR PUBLISH FILE VERSIONS

Section Break
Code Issues
Find Run and Advance
New Open Save Go To Refactor Debugger Run
Bookmark Section Run to End
FILE NAVIGATE CODE ANALYZE SECTION

/ MATLAB Drive

exp1c.m exp1b.m exp1a.m

Command Window
Ready
>> exp1cprompt
MATRIX ADDITION
2 10 9
4 7 4
18 16 6

MATRIX SUBTRACTION
0 -2 3
0 3 0
0 4 -2

MATRIX MULTIPLICATION
63 50 35
30 34 24
47 86 55

MATRIX INVERSE
INVERSE OF A
0.0962 -0.5000 0.2115
-0.1346 0.5000 -0.0962
0.2404 -0.2500 0.0288

MATRIX INVERSE
INVERSE OF B
-0.1053 -0.1579 0.1579
0.2632 -0.6053 0.1053
-0.1579 1.2632 -0.2632

MATRIX TRANSPOSE
TRANSPOSE OF A
1 2 9
4 5 10
6 2 2

MATRIX TRANSPOSE
TRANSPOSE OF B
1 2 9
6 2 6
3 2 4

>> >> exp1c

https://matlab.mathworks.com/matlab/23.2.0.2521687/index-matl…ne=https%3A%2F%2Fmatlab.mathworks.com&mosh=true&showHome=true Page 1 of 1

You might also like