Challenge

To create a row and column vector in matlab.

Aim:-To create a row and column vector in matlab

Code:-

clear all
close all
clc

%To create a row vector in matlab
a = [1, 2, 3]

%To create a column vector in matlab
b = [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.