Data structure - What is a matrix? Explain its uses with an example

What is a matrix? Explain its uses with an example

Matrix is a way to store data in an organized form in the form of rows and columns. Matrices are usually used in computer graphics to project 3-dimensional space onto a 2-dimensional screen. Matrices in the form of arrays are used to store data in an organized form.

What is a matrix? Explain its uses with an example

A matrix is a representation of certain rows and columns, to persist homogeneous data. It can also be called as double-dimensioned array.

Uses:
- To represent class hierarchy using Boolean square matrix
- For data encryption and decryption
- To represent traffic flow and plumbing in a network
- To implement graph theory of node representation
Data structure - Algorithm, properties of an algorithm, types of algorithms
Algorithm: A step by step process to get the solution for a well defined problem.......
Data structure - What is an iterative algorithm?
Iterative algorithm - The process of attempting for solving a problem which finds successive approximations for solution, starting from an initial guess.......
Data structure - What is an recursive algorithm?
Recursive algorithm - Recursive algorithm is a method of simplification that divides the problem into sub-problems of the same nature......
Post your comment