Info

此问题已关闭。 请重新打开它进行编辑或回答。

Help, please Help please

1 次查看(过去 30 天)
john hollywood
john hollywood 2014-2-24
关闭: MATLAB Answer Bot 2021-8-20
>> 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 个评论
john hollywood
john hollywood 2014-2-24
i apologize for that sir ,it won't happen again.
john hollywood
john hollywood 2014-2-24
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

回答(1 个)

Walter Roberson
Walter Roberson 2014-4-26
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.

此问题已关闭。

产品

Community Treasure Hunt

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

Start Hunting!

Translated by