I have a variable x which varies from -160 to 160 through steps of 10.x = -160:10:160;
I have a matrix T1 which is of the form
cos(x) 0 +sin(x) 0.00;
sin(x) 0 -cos(x) 0.00;
0.0000 1 0.00000 0.67;
0.0000 0 0.00000 1.00
How can that be represented in Matlab ?
I have seen that setting T1 to the following and displaying T1 produces only the sin
and cos
terms in the matrix,but not the zeroes.T1 = [cos(x) 0 sin(x) 0;sin(x) 0 -cos(x) 0];
How do I get this done ?