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