My Academics

ETEC 415 – Control Systems – matlab HW 1

ETEC 415 – Control Systems – matlab HW 1

Module 1

  1. Write down the commands to create the following arrays and matrices

a = [5 12 8 33 7]
b = [ 351193]
c = [1 5 12 14 7]
x1=[0 1 2 3 4 5 6 7 8 9 10]
z =[0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1]
fmat1=[341628931]

mat2=[41016102243613529]

2. Write the output from the following (if there is an error, explain why)

1. a.c
2. ab
3. ba
4. a.b
5. x1^2
6. fx1.^2
7. mat2a h. mat1mat2
8. a*mat1

3. Write down the commands to create the plot and include the plot. Replace YOURNAME with your own name. You may submit the plot as a separate file if you want, but it will need to be a graphic file (jpg, png, tiff). Use z from problem 1.

Create Your Account !

USA Toll-Free