Info

This question is closed. Reopen it to edit or answer.

How can you plot this function

1 view (last 30 days)
Jonathan Miller
Jonathan Miller on 12 Sep 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
x(t)=10.00-2.06*10^-8*exp(t) from x=0 to x=20?

Answers (1)

Star Strider
Star Strider on 12 Sep 2015
The easiest way:
x = @(t) 10.00-2.06E-8*exp(t); % Anonymous Function
v = linspace(0, 20, 50); % Define Independent Variable
figure(1)
plot(v, x(v))
grid

Community Treasure Hunt

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

Start Hunting!