matlab construct an array code example
Example 1: matlab 1d matrix declarationg
a = [1 2 3; 4 5 6; 7 8 10]
Example 2: matlab 1d matrix declarationg
z = 5×1
0
0
0
0
0
a = [1 2 3; 4 5 6; 7 8 10]
z = 5×1
0
0
0
0
0