Question: compute these into Matlab and find out why and what are they doing(in your own words) . Run the following commands, what do they do?
compute these into Matlab and find out why and what are they doing(in your own words)
. Run the following commands, what do they do? triu (E) tril (E) b. What do the following do, try different numbers? triu (E, 1) tril (E, -1) c. From the lower triangular, upper triangular and diagonal you should be able to reconstruct the matrix triu (E, 1) + tril (E, -1) + diag (E) Does this reconstruct E? If not, what do you need to do to fix this?
Step by Step Solution
3.36 Rating (162 Votes )
There are 3 Steps involved in it
To understand what these MATLAB commands do lets break them down one by one Part a 1 triuE This comm... View full answer
Get step-by-step solutions from verified subject matter experts
