Make Vertical and horizontal arrays in MATLAB

Open your command window.


2. For horizontal array, type, say variable name "x"

x= [ 1 2 3 4]


3. For vertical arrays, type, say variable name "y"

y = [1;2;3;4]



22 views0 comments

Recent Posts

See All