Why doesn't my graph display a line?

1 view (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)

Categories

Find more on Graphics Object Identification in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!