Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
12 views1 page

Dynamics HW 3 Code

The document shows a MATLAB command window session where a transformation matrix 'Cba' is defined. A vector 'ra' is created and then transformed using the matrix to produce a new vector 'rb'. The results of the operations are displayed in the command window.

Uploaded by

Cheemd Onyiuke
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views1 page

Dynamics HW 3 Code

The document shows a MATLAB command window session where a transformation matrix 'Cba' is defined. A vector 'ra' is created and then transformed using the matrix to produce a new vector 'rb'. The results of the operations are displayed in the command window.

Uploaded by

Cheemd Onyiuke
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

10/4/20 7:18 PM MATLAB Command Window 1 of 1

>> Cba = [1 0 0; 0 0 1;0 -1 0]

Cba =

1 0 0
0 0 1
0 -1 0

>> ra = [3/2; 2; 3]

ra =

1.5000
2.0000
3.0000

>> rb = Cba*ra

rb =

1.5000
3.0000
-2.0000

>>

You might also like