modify parted matrix element
情報
この質問は閉じられています。 編集または回答するには再度開いてください。
古いコメントを表示
Hi i have part of specific matrix was made partition , then how we can modify all of element of this part by add or multiply or any mathematical operation??
1 件のコメント
Andrew Newell
2012 年 2 月 15 日
Could you elaborate?
回答 (1 件)
bym
2012 年 2 月 16 日
x =magic(4)
x =
16 2 3 13
5 11 10 8
9 7 6 12
4 14 15 1
x(1:2,1:2)=x(1:2,1:2)-x(1:2,1:2)
x =
0 0 3 13
0 0 10 8
9 7 6 12
4 14 15 1
0 件のコメント
この質問は閉じられています。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!