Project

to create a row vector column vector and matrix

%to create a row vector
r=[45,56,67]

%to create row vector method 2
s=[13 23 37]

%to create a column vector
c=[4;5;6]

%to create column vector method 2
d=[1
2
3]

%to create a matrix
m=[1,2,3;44,5,6;7,8,9]

%to create a matrix method 2
b=[1 2 3

4 5 6

7 8 9]

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.