Plot graphs in Matlab using script file
古いコメントを表示
Plot graphs in MATLAB using script file.
To do
The displacement of an object falling under the force of gravity is given by:
Y=gt 2
Where g is the acceleration of gravity of Earth [m/s 2 ], y is the distance traveled [m], and t is time
[s]. Plot the distance fallen as a function of time near the surface of the Earth between 0 and 10
seconds, with an increment of 1 second. Add a title and x and y labels.
1 件のコメント
madhan ravi
2020 年 8 月 26 日
Isn't this your homework? What did you try?
回答 (1 件)
KSSV
2020 年 8 月 26 日
0 投票
You need to read about
- linspace
- plot
- Define t using linspace and the limits given.
- DEfine g
- Write your formula.
- Use plot
カテゴリ
ヘルプ センター および File Exchange で Surface and Mesh Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!