Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Help, please Help please

1 visualizzazione (ultimi 30 giorni)
john hollywood
john hollywood il 24 Feb 2014
Chiuso: MATLAB Answer Bot il 20 Ago 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 Commenti
john hollywood
john hollywood il 24 Feb 2014
i apologize for that sir ,it won't happen again.
john hollywood
john hollywood il 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

Risposte (1)

Walter Roberson
Walter Roberson il 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.

Questa domanda è chiusa.

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by