Question: Creating row/column vectors using [], commas/spaces, and semicolons; horizontal/vertical concatenation; transpose using apostrophe. Do the following Create the following row vector. Assign it as variable

 Creating row/column vectors using [], commas/spaces, and semicolons; horizontal/vertical concatenation; transpose

Creating row/column vectors using [], commas/spaces, and semicolons; horizontal/vertical concatenation; transpose using apostrophe. Do the following Create the following row vector. Assign it as variable A . A=[7 49-5] *Given a scalar X (an array of size Lxl) with a random numerncal value, horizontally concatenate (join) vector A above with the given scalar X. Append X in the front and the end of the vector A. Assign the new row vector after concatenation as variable B o The value of Xitself will be randomized at each submission by the auto grader Refer to X as a variable already existed in the workspace. Do not modify X Example: if X happens to be 99, B should be, o B=[99 7 49-5 99 ] . Transpose the row vector B above, so it becomes a column vector. Assign this column vector as variable C. 49 5 10 C 49 0 789 49 5 . Create a column vector D as shown above . Vertically concatenate (join) the column vector C with itself. Assign the result as variable E Hint. Try P = [1:2:3], Q = [P: P: 10: 20; P], R = P', S = [80, 90, R, R]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!