top of page

Make Vertical and horizontal arrays in MATLAB

  • Writer: Harshal Srivastava
    Harshal Srivastava
  • Apr 4, 2021
  • 1 min read

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]



Comments


©2021 by Tech Aficionado.

  • 0c23332059f19519c291c00496b5f056
  • Facebook
  • Twitter
  • LinkedIn
bottom of page