Matrix operations and scripting – MCQs – EE

30
Score: 0
Attempted: 0/30
1. In MATLAB, a matrix is created using:



2. Element-wise multiplication of two matrices in MATLAB is done using:



3. Matrix multiplication in MATLAB is performed using:



4. Transpose of a matrix is computed using:



5. The determinant of a matrix in MATLAB is found using:



6. The inverse of a matrix is computed using:



7. The rank of a matrix is obtained using:



8. Eigenvalues of a matrix are found using:



9. To solve a linear system of equations Ax = b, MATLAB uses:



10. Zeros matrix of size m×n is created using:



11. Identity matrix of size n is created using:



12. A matrix of ones of size m×n is created using:



13. To extract a submatrix, MATLAB uses:



14. Element-wise division is done using:



15. Element-wise power of a matrix is done using:



16. Scripts in MATLAB are saved with extension:



17. Functions in MATLAB are defined using:



18. A MATLAB script can be executed by:



19. Loops in MATLAB are created using:



20. Conditional statements in MATLAB include:



21. MATLAB indices start at:



22. Colon operator (:) is used for:



23. The size of a matrix is obtained using:



24. Number of elements in a matrix is found using:



25. To concatenate two matrices horizontally, you use:



26. To concatenate two matrices vertically, you use:



27. MATLAB supports complex numbers using:



28. To generate random matrices, MATLAB uses:



29. A MATLAB function can return:



30. The main advantage of scripting in MATLAB is:



Contents Copyrights Reserved By T4Tutorials