how to convert java.util.Vector into a matrix

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.

Asked:

on 25 Jul 2017

Closed:

on 26 Jul 2017

Community Treasure Hunt

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

Start Hunting!