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)
Show older comments
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.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!