How to plot position vs time
14 ビュー (過去 30 日間)
古いコメントを表示
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
0 件のコメント
採用された回答
Jonathan Sullivan
2012 年 3 月 28 日
t = 0:1000; % Your time vector
x = log(t); % Position is natural log of time
plot(t,x) % Plot your data
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Log Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!