Question : How to plot exp(t) in matlab ?Solution :We shall write the Matlab program to plot exponential function in the interval [-10 10]y=@(t) exp(t) % exponential functiont=[-10 10]; % in the intervalplot(t(:),y(t(:))) % plot matlab commandxlabel(‘t’)ylabel(‘y’)title(‘y(t)’)% output graph
Posted inMathematical Biology Mathematics MATLAB