MATLAB Programs
1. Find the determinant of a matrix
OUTPUT
2. Draw a graph that joins the points (1, 0), (5, 4) and (2, 1).
OUTPUT
3. Arrange n numbers in increasing order using any sorting algorithm
OUTPUT
4. Arrange n numbers in descending order using any sorting algorithm
OUTPUT
5. Search an element from a list of n elements using –
a. Linear Search
OUTPUT
.
b. Binary Search
OUTPUT
6. Multiply two matrices of order 4x4 or 3x3
OUTPUT
7. Find the inverse of a matrix
OUTPUT
8. Find the factorial of a number
OUTPUT
9. Find the roots of the quadratic equation f(x)=x2-2x-3
OUTPUT
10. Calculate 2√2 and assign the value to a variable A
OUTPUT
11. Polynomial Multiplication
OUTPUT