-
4 Comments
Show
1 older comment
Keita Abe
on 12 Oct 2022
Maybe this test doesn't check XData so "1" is valid for the solution
assert(isequal([h.YData],[m, y]), 'Check plotted data')
MD SHAHNAWAZ HUSSAIN
on 13 Oct 2022
Nice code
Kurt
on 15 Aug 2023
The leading solution doesn't really plot the red asterisk on the exact location of where the minimum value of y is for the corresponding value of t...the plot results of test suites don't look like the requested output plot that is being asked for. It's kind of a lazy answer just to get the smallest size so it can be flagged as the "leading solution"
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15613 Solvers
-
Project Euler: Problem 1, Multiples of 3 and 5
3383 Solvers
-
1419 Solvers
-
308 Solvers
-
1390 Solvers
More from this Author13
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!