Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
= + +
= +
= +
+ +
| |
=
|
\ .
2. Do as directed:
a. Create a vector X with a starting value of 0.0 and an ending value of 50, with increments of 0.1
between values
b. Create a vector Y with a starting value of 0.1 and an ending value of 50 and with the same
number of elements as in X. The elements must be evenly spaced.
3. Do as directed:
a. Using MATLAB commands create an array, labeled A, consisting of the first 10 prime numbers
listed in increasing order.
b. Using MATLAB commands on the array A to create the matrix B
13 17 19 23 29
13 11 7 5 3
B
(
=
(
4. Do as directed:
a. Use MATLAB commands to find the transpose of B, which you name C
b. Use MATLAB to Compute B*C and C*B.
5. Use a MATLAB command to create directly from matrix B, above, the matrices
| |
19
7
19 7
D
E
(
=
(
=
6. Verify Woodberry's Identity: ( )
( )
( )
1 1
1
1
1
1
A DEA
A DE A
EA D
+ =
+
for
5 2
3 1
A
(
=
(
7. Compute B*C, C *B and C.*C. Compare the result and comment on it.
8. Generate following using FOR loop:
E=[1,4,9,16,25,36,49,64,81,100]