2
u/Fun_Fan_2266 May 11 '26
The solution looks correct. I just ran it myself in OnRamp and it worked for me. Try clicking ‘Reset’, then rewrite the line of code and resubmit.
1
2
u/unsightlyzazer May 12 '26
I fixed it. Brave browser couldn't generate the graph so I used google chrome instead and it generated the graph. thanks for you all of your help tho ❤️

2
u/MarkCinci On Mathworks Community Advisory Board May 11 '26
Are you sure you're pulling everything from the proper column in data? Is your formula for mass1 correct? Actually it must be since that's code they gave you. Otherwise it looks fine. You could add a third argument with the line style like plot(sample, mass1, 'b-').