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: | 430 Weeks Ago, 6 Days 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-----------