i Have a Matrix A and i want to see in another format

1 view (last 30 days)
I have a matrix A= { 1 2; 1 3; 2 2; 2 3;} and i want output as S= {1 1 0; 1 2 1; 1 1 1; 2 1 0; 2 2 1; 2 3 1;} please help
  1 Comment
Matt J
Matt J on 19 Apr 2018
You have many open threads that you have not Accept-clicked answers to. Responsiveness is likely to improve if you do.

Sign in to comment.

Answers (0)

Categories

Find more on Operating on Diagonal Matrices in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!