To create row and column vector in matlab
Objective: % to create row and column vector clear all close all clc %inputs a=[1:5]; b=[1:5]; inputting values from 1 to 5 in each. %formulation of matrix c=a.*b this produces a matrix stored in c. %plotting we can even plot any curve in we want to…