two component vector help

Can someone explain how to create a two component vector?

1 Comment

What exactly do you mean by a two component vector?
A simple 2D row vector (V):
V = [1, 1]
V = 1×2
1 1
And a 2D column vector:
V = [1; 1]
V = 2×1
1 1

Answers (0)

This question is closed.

Products

Release

R2021b

Asked:

on 7 Dec 2021

Closed:

on 2 Jan 2026

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!