how to make unstructured Grid

hello
for my practice i already done by manually make unstructured grid 5x5x1
i define coordinate node, connectivity, etc
for small grid is done

but my problem is how to make grid 100x100x4
i used VTK for better visualizing by Paraview.
my coding background is using Matlab.

hope anyone could help me.