Info

This question is closed. Reopen it to edit or answer.

how to convert java.util.Vector into a matrix

2 views (last 30 days)
Sanjeev Kumar
Sanjeev Kumar on 25 Jul 2017
Closed: Stephen23 on 26 Jul 2017
I have a Java.util.Vector
myData=[[0, 1, 1, 1, 1], [0, 0, 1, 1, 1], [0, 0, 0, 1, 1], [0, 0, 0, 0, 1], [0, 0, 0, 0, 0]]
want to convert this into matrix as
M= 0 1 1 1 1
0 0 1 1 1
0 0 0 1 1
0 0 0 0 1
0 0 0 0 0
Thanks in advance.

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!