Project

F MA

mass=[10, 20, 30, 40]

accelaration=[1; 2; 3; 4]

force=mass.*accelaration

plot(mass, accelaration, \'color\', \'r\')

xlabel(\'mass\')

ylabel(\'accelaration\')

grid on

*********************comments*******************

A=[x,y,z] , note the comma between elements for row vector

B=[d;e;f] note the semicolon between elements for column vector

where the the number of elements in A and B can vary

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.