How do I create a script that will plot the vectors of time values(t) and position values(x) at the same time where as the relationship between time and position is that position is equal to the natural log of time. All help is greatly appreciated.
Thanks again

 Akzeptierte Antwort

Jonathan Sullivan
Jonathan Sullivan am 28 Mär. 2012

1 Stimme

t = 0:1000; % Your time vector
x = log(t); % Position is natural log of time
plot(t,x) % Plot your data

Weitere Antworten (1)

Fuad Ashraf
Fuad Ashraf am 14 Nov. 2020

0 Stimmen

t=0.0001;
x=log(t);
plot(t,x)

Kategorien

Community Treasure Hunt

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

Start Hunting!

Translated by