Answered step by step
Verified Expert Solution
Question
1 Approved Answer
## 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started