Harshal SrivastavaApr 9, 20211 min readMultiply matrices corresponding to its elements in MATLAB1. 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 SrivastavaApr 9, 20211 min readMatrix Multiplication in MATLAB1. 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 SrivastavaApr 8, 20211 min readGenerate 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 SrivastavaApr 4, 20211 min readMake Vertical and horizontal arrays in MATLABOpen your command window. 2. For horizontal array, type, say variable name "x" x= [ 1 2 3 4] 3. For vertical arrays, type, say variable...