フィルターのクリア

Hi...I am trying to create a mirror image for a matrix.IS it possible?

13 ビュー (過去 30 日間)
nafila aytija
nafila aytija 2016 年 6 月 3 日
コメント済み: Star Strider 2016 年 6 月 3 日
For, example-I have a matrix A=[1 0 0 ;1 1 0; 0 1 1].SO Can it be made like this M=[0 0 1; 0 1 1; 1 1 0]??Thanks in Advance

採用された回答

Star Strider
Star Strider 2016 年 6 月 3 日
Use the fliplr function:
A = [1 0 0 ;1 1 0; 0 1 1]
B = fliplr(A)
A =
1 0 0
1 1 0
0 1 1
B =
0 0 1
0 1 1
1 1 0
  2 件のコメント
nafila aytija
nafila aytija 2016 年 6 月 3 日
Thank you very much ....
Star Strider
Star Strider 2016 年 6 月 3 日
My pleasure!

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by