Why doesn't my graph display a line?
1 view (last 30 days)
Show older comments
Jennifer Tabola
on 5 Oct 2018
Commented: Jennifer Tabola
on 5 Oct 2018
t=0:.5:10;
N_0=1;
N=N_0*exp(.069314718*10);
figure(1)
plot(t,N)
0 Comments
Accepted Answer
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)
See Also
Categories
Find more on Graphics Object Identification in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!