How to change this matrix for expected matrix?

1 view (last 30 days)
if true
% code
A= [0,0,0;0,2,3;1,2,3]
Expected A=[3,2,1;3,2,0;0,0,0]

Answers (1)

Bruno Luong
Bruno Luong on 1 Nov 2018

Categories

Find more on Matrices and Arrays in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!