MATLAB: Doesn’t the graph display a line

lineMATLAB

t=0:.5:10;
N_0=1;
N=N_0*exp(.069314718*10);
figure(1)
plot(t,N)

Best Answer

Its because t and N have different dimension. Refer this problem. I have done little change to make it understandable.
clc
clear
t=0:.5:10;
N_0=1;
N=N_0*exp(t);
plot(t,N)
Related Question