Project

Week 1 - Basic commands in Matlab

To create a row and column vector enter numbers inside of square brackets with space and semi-colon between them respectively.

Screenshot: Code Output

A row vector of odd numbers(0-10) is created and column vector of even numbers(0-10) is created.

x=[1 3 5 7 9]y=[0;2;4;6;8]
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.