 # 1. (20 points)Suppose z=[10 40 50 80 30 70 60 90]. What does this v...

## Question

Show transcribed text

## Transcribed Text

1. (20 points)Suppose z=[10 40 50 80 30 70 60 90]. What does this vector look like after each of these commands? (i) z(z>=50) (i) (({:2:7)=zeros(1,4) (iii)z(7:-2:1)=fliplr(z(1:2:7) = (iv) z([3 4 8 1])=[] = 2. (20 points) Use the linspace function to create vectors identical to the following created with colon notation: (i) t=1:6:37 (ii) x=-2:4 3. (20 points) Use colon notation to create vectors identical to the following created with the linspace function: (i) v=linspace (-3,0,5) (ii) r=linspace (2,4,7) 3. (40 points) Write a MATLAB script that plots the following functions over to < r << 57: f1(x) ####### sin² I - cos r, f2(x) -0.1. 3 the 2,2² the 10, fa(x) enf/r. , fa(x) The plots should be in four separate frames, but all four frames should be in one figure window. To do this you can use the subplot command to create 2 X 2 subfigures. Your figures should be self explanatory (with clearly labeled axes). Include both your MATLAB script and your figure.| 1

## Solution Preview

These solutions may offer step-by-step problem-solving explanations or good writing examples that include modern styles of formatting and construction of bibliographies out of text citations and references. Students may use these solutions for personal skill-building and practice. Unethical use is strictly forbidden.

By purchasing this solution you'll be able to access the following files:
Solution.pdf.

\$23.00
for this solution

or FREE if you
register a new account!

PayPal, G Pay, ApplePay, Amazon Pay, and all major credit cards accepted.

### Find A Tutor

View available MATLAB for Mathematics Tutors

Get College Homework Help.

Are you sure you don't want to upload any files?

Fast tutor response requires as much info as possible.