Project

Row and column vector

% Row vector

% Row vector is a matrix of size 1*n

% so to define it just input a matrix with just one row

ROW_Vector = [1 2 3 4 5]

% here ROW_vector is the row vector with elemnts 1, 2,3,4 and 5.

% Column vector

% Column vector is a matrix of size n*1

% so to define it just input a matrix with just one column

COL_Vector = [1; 2; 3; 4; 5]

% here COL_vector is the row vector with elemnts 1, 2,3,4 and 5.

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.