Why doesn't my graph display a line?

13 views (last 30 days)
t=0:.5:10;
N_0=1;
N=N_0*exp(.069314718*10);
figure(1)
plot(t,N)

Accepted Answer

ANKUR KUMAR
ANKUR KUMAR on 5 Oct 2018
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)

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!