MATLAB Answers

0

How to change this matrix for expected matrix?

Latest activity Commented on by madhan ravi
on 1 Nov 2018
if true
% code
A= [0,0,0;0,2,3;1,2,3]
Expected A=[3,2,1;3,2,0;0,0,0]

  0 Comments

Sign in to comment.

1 Answer

Answer by Bruno Luong
on 1 Nov 2018

rot90(A,2)

  1 Comment

Sign in to comment.