Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Help, please Help please

1 vue (au cours des 30 derniers jours)
john hollywood
john hollywood le 24 Fév 2014
Clôturé : MATLAB Answer Bot le 20 Août 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 commentaires
john hollywood
john hollywood le 24 Fév 2014
i apologize for that sir ,it won't happen again.
john hollywood
john hollywood le 24 Fév 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

Réponses (1)

Walter Roberson
Walter Roberson le 26 Avr 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.

Cette question est clôturée.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by