[img=
http://s22.postimage.org/5cc4ac3vl/image.png]I have to represent the 2D array as a variable where theta1 is a variable that varies from -160 to 160 through steps of 10.
I have defined theta1 as
[code]theta1 = -160:10:160;[/code]
and T1 as is given,but it says
[code]Error using vertcat
CAT arguments dimensions are not consistent.[/code]