SLIDE 1
Modelling and Simulation of Mechatronic Systems 02PCYQW Examples Matrix Calculus
Basilio Bona – Politecnico di Torino October 20, 2016
1 Matrix Calculus
Example 1. Given the matrix M = 3 −1 4 −6 5 −12 31 −17 14 compute the determinant D = det M , the trace T = tr M , the inverse matrix M −1, the transpose matrix M T. Solution: D = −326 T = 22 M −1 = 0.4110 0.1656 0.0245 0.8834 0.2515 −0.0368 0.1626 −0.0613 −0.0276 M T = 3 −6 31 −1 5 −17 4 −12 14 Example 2. Given the matrix A A = 2 12 4 3 −1 7
- compute AAT and ATA and notice that they are square and symmetric (this is a general