If anyonecould solve the question and send the code i will be obliged.

Its to plot the velocity vs distance graph.

2 Comments

Don't you think that the order title of your contribution is a little impudent ?
Probably the Assignment Group Leader or the Professor sent the SMS to @Nabagata Chaudhury... 😅

Sign in to comment.

 Accepted Answer

Try this:
% First compute distance and velocity as a function of time somehow. Then simply call plot:
plot(distance, velocity, 'b-', 'LineWidth', 2);
grid on
xlabel('Distance', 'FontSize', 20);
ylabel('Velocity', 'FontSize', 20);
If you have more questions, read this first before asking them:

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products

Release

R2022a

Community Treasure Hunt

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

Start Hunting!