Homework for a MatLb 243
March 17th, 2023
I need an explanation for this Computer Science question to help me study.
Don't use plagiarized sources. Get Your Custom Essay on
Homework for a MatLb 243
From $8/Page
Assignment 2
Please fill in your name and MSU ID number.
Student Name |
|
Student ID # |
|
Please note, you can refer to the link below if you dont know how to insert a matrix in Microsoft Word.
https://www.youtube.com/watch?v=lmITZrePNXs
- Write an expression using linspace that will result in the same as 1: 0.5: 3
- Find the sum 2+4+6+8+10 using sum and the colon operator.
- For the following matrices A, B, and C:
- Create variables for these two matrices:
Answer:
Answer:
A = B = C =
- Give the result of 3*A.
- Give the result of A*C.
- Are there any other matrix multiplications that can be performed?If so, list them.
Answer:
Answer:
Answer:
AB
Perform the following operations:
- Give the result of A + B
- Give the result of A B
- Give the result of A .* B
Answer:
Answer:
Answer:
- Create a vector x which consists of 20 equally spaced points in the range from p to +p.Create a y vector which is sin(x).
- If a variable has the dimensions 1 x 5, could it be considered to be (choose all that apply):
Answer:
- a matrix
- a row vector
- a column vector
- a scalar
Answer: