top of page


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

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

Harshal Srivastava
Apr 8, 20211 min read
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 =...
17
0

Harshal Srivastava
Apr 4, 20211 min read
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...
125
0
bottom of page