The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | May 2017 |
| Last Sign in: | 399 Weeks Ago |
| Questions Answered: | 66690 |
| Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
2.5 Let z = magic(5).                  1
Â
a. Perform the following operations to z in the order given: i. Divide column 2 by 3.
Â
        Add the elements of the third row to the elements in the fifth row (the third row remains unchanged).
Â
          Multiply the elements of the first column by the corresponding elements of the fourth column and place the result in the first column.
Â
         Set the diagonal elements to 2.
Â
        If the result obtained in (a) (iv) is denoted q, then obtain the diagonal of qqœ (Answer: [486 104189 7300 44522 111024]œ).
        Determine the maximum and minimum values of q.
Â
           Let w = magic(2) and w' be the transpose of w.
Â
a. Using repmat create the following (4 * 4) matrix
|
cw |
w d |
|
w |
w |
Â
b. Using repmat create the following (6 * 2) matrix
Â
J w K w
w
Â
        Use repmat and the column augmentation procedure to create the following (6 * 4) matrix:
Â
|
w |
w¿ |
K |
|
J ww |
ww¿¿ |
Â
        Repeat (a), (b), and (c) without using repmat, that is, using only column and row augmentation procedures.
|
        |
|
        P = 100P /P % |
|
        o |
|
        T |
|
        where PT is the total nondimensional power in the signal |
|
 |
 |
Â
           Let x = magic(3). Using element swapping technique of Example 2.3
Â
        Create a new matrix in which each row of x has been moved up by one row and the first row becomes the last row.
Â
        Create a new matrix in which each column of x has been moved to the right and the last column becomes the first column.
Â
           Manipulate the output of magic(5) to produce the following altered matrix:
Â
|
 |
17 |
24 |
1 |
8 |
15 |
 |
 |
 |
17 |
24 |
1 |
8 |
0 |
 |
|
 |
23 |
5 |
7 |
14 |
16 |
 |
: |
 |
23 |
5 |
7 |
0 |
16 |
 |
|
magic(5) = |
4 |
6 |
13 |
20 |
22 |
 |
 |
4 |
6 |
0 |
20 |
22 |
 |
|
|
E |
10 |
12 |
19 |
21 |
3 |
U |
 |
E |
10 |
0 |
19 |
21 |
3 |
U |
|
11 |
18 |
25 |
2 |
9 |
 |
0 |
18 |
25 |
2 |
9 |
Section 2.5
Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------acq-----------uis-----------iti-----------on -----------of -----------my -----------pos-----------ted----------- so-----------lut-----------ion-----------.Pl-----------eas-----------e p-----------ing----------- me----------- on-----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be-----------