Project

row and column vector in matlab

% column vector

>> a=[2

6

7

9]

a=

2

6

7

9

>>a=[2,

6,

7,

9]

a=

2

6

7

9

% row vector

>> b=[ 1:3]

b=

1 2 3

>>b=[1 2 3]

b=

1 2 3

>>b=[6:-1:1]

b=

6 5 4 3 2 1

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.