Matrix Programs

Program to find the transpose of a Matrix

Here is the program to transpose the entered matrix. The program asks for the order (M, N) of the matrix Soon after entering the order, the cursor takes to the proper position in the screen to input the matrix. User need to hit ‘Enter’ button after each entry. Logic :  A simple logic lies here. […]


To find the sum of secondary diagonal of a Matrix

Here is the program to find the sum of the secondary diagonal elements (From right top to  left bottom ) of the entered integer square matrix. The program asks for the order (M, N)  [where M should equal N] of the matrix. Soon after entering the order, the cursor takes to the proper position in […]


To find the sum of primary diagonal of a Matrix

Here is the program to find the sum of the primary diagonal elements (From left top to right bottom) of the entered integer matrix. The program asks for the order (M, N)  [where M should equal N] of the matrix. Soon after entering the order, the cursor takes to the proper position in the screen […]


To multiply two Matrices

Here is the program to find the product of the two integer matrices. The program asks for the order A (M, N) of the first matrix, and that B (P, Q) of the second matrix.  Soon after entering the order, the cursor takes to the proper position in the screen to input the matrices. User […]


To find the difference of two Matrices

Here is the program to find the difference between the two integer matrices. The program asks for the order (M, N) of the matrices. Soon after entering the order, the cursor takes to the proper position in the screen to input the matrices. User need to hit ‘Enter’ button after each entry. Logic : The […]


To find the sum of two Matrices

Here is the program to find the sum of the two integer matrices. The program asks for the order (M, N) of the matrices. Soon after entering the order, the cursor takes to the proper position in the screen to input the matrices. User need to hit ‘Enter’ button after each entry. Logic :  The […]


Intelligent Train Engines

The idea is whenever any engine observes a red signal on its track it will start decreasing its speed gradually and stops automatically at some distance from the signal pole. After then when it gets green signal the driver can manually start the train and go on.


Robotic car using 8951 Microcontroller

Robotic Car is a miniature prototype car powered by batteries whose various movements can be control either manually or automatically, or the combination of both.