top of page


Multiply matrices corresponding to its elements in MATLAB
1. Open your command window in MATLAB 2. Enter the first matrix, say, x = [3 4 5 ] 3. Enter another matrix, say, y = [1 2 3]...
Harshal Srivastava
Apr 9, 20211 min read
42
0

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...
Harshal Srivastava
Apr 9, 20211 min read
53
0

Generate random matrix of desired number of columns and rows (MATLAB)
1. Open your command window 2. Say, you want to create a random matrix of 4 rows and 5 columns with the matrix name as "x". Type, x =...
Harshal Srivastava
Apr 8, 20211 min read
17
0

Make Vertical and horizontal arrays in MATLAB
Open your command window. 2. For horizontal array, type, say variable name "x" x= [ 1 2 3 4] 3. For vertical arrays, type, say variable...
Harshal Srivastava
Apr 4, 20211 min read
125
0
bottom of page