Quantcast
Viewing all articles
Browse latest Browse all 2703

Variables and Constants in a matrix

Image may be NSFW.
Clik here to view.


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
theta1 = -160:10:160;

and T1 as is given,but it says
Error using vertcat
CAT arguments dimensions are not consistent.


If I declare the matrix with only first two rows,it accepts the input.Bu when displaying,its shows only the variable rows,not the constants.

How to declare the matrix with variables and constants?

Viewing all articles
Browse latest Browse all 2703

Trending Articles