Info

This question is closed. Reopen it to edit or answer.

Help, please Help please

1 view (last 30 days)
john hollywood
john hollywood on 24 Feb 2014
Closed: MATLAB Answer Bot on 20 Aug 2021
>> A=[1 2;3 4];
>> B=[9 8 7;6 5 4;3 2 1];
>> a=[11,12];
>> b=[21;22];
>> c=[19 18 17];
>> d=[29;28;27];
i am stuck on these questions , i did the rest but really stuck on these question , i spend almost 4 hours playing around with different ways, but can't get the right answer. any help will be much appreciated. Thank you soo much
  3 Comments
john hollywood
john hollywood on 24 Feb 2014
i apologize for that sir ,it won't happen again.
john hollywood
john hollywood on 24 Feb 2014
for 'part F' i just don't how put number "29" in there. also for 'Part G', i just don't know how to put matrix A in that diagonal form.i did try switch rows and columns and also tried transpos but nothing seems to work. i used diag(diag(A')) But its not working. Thank you soo much

Answers (1)

Walter Roberson
Walter Roberson on 26 Apr 2014
Part F:
[A./A, a.', b; c, d(diff(a))]
It is foolish to have to synthesize the 1's by using something like A divided by A.
Part G:
[diag(A(diff(a),:)), diag(diag(A./A)); A./A, A-A]
Pretty silly too.

This question is closed.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!