Question: ## 1. A) Create a repeated vector with a sequence of numbers 1 to 8 and repeat it ten times. Assign the vector into a
## 1. A) Create a repeated vector with a sequence of numbers 1 to 8 and repeat it ten times. Assign the vector into a variable X. Calculate the square of X.
B). Create a matrix Y1 containing 6 rows and 3 columns containing 1 to 18 by row (1:3 in first row, 4:6 in 2nd row, etc). Then print Y1.
C) Create a matrix Y2, Y2 is the sum of Y1 and 8. Then create a matrix Y3, which equals Y2 multiplied by 5. ## Then calculate the means of each column of Y3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
