ECE 417 --- ROBOTICS
Lab 2, Fall 2018
The purpose of this lab is to develop a few subroutines (in C or C++) which will be used in future lab assignments. The subroutines should be written so they are easily used in future programs. They should be well commented. The following subroutines should be written:
You are also required to write a main program which inputs matrix values from the keyboard and calls each of the subroutines to test them. The following is suggested, but variations are allowed (e.g., menu driven operation): 1) Input matrix A. 2) Input matrix B. 3) Input point pUVW. 4) Print A times B. 5) Print A-1. 6) Print A times pUVW. Note that printing A times A-1 is also a good test.
Some example C and C++ code is given here.