Check out example codes for "matlab 1d matrix declarationg". It will help you in understanding the concepts better.

Code Example 1

z = 5×1

     0
     0
     0
     0
     0

Code Example 2

a = [1 2 3; 4 5 6; 7 8 10]

Learn ReactJs, React Native from akashmittal.com