MATLAB Onramp: Help with Plots

I am currently working on MATLAB Onramp, and I am stuck on the sections where plotting is involved.
When I submit my solution, the program takes a long time to process it and marks my work as incorrect.
However, my solution is identical to the correct solution provided.
  • I thought that that I should change 'plot(sample, mass1)' to 'plot(sample,mass1)' and omit the space, but the same error occurs.

More Answers (0)

Asked:

on 1 Aug 2025

Commented:

on 1 Aug 2025

Community Treasure Hunt

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

Start Hunting!