-
4 Comments
Show
1 older comment
Hello Say
on 5 Oct 2021
cool,didn't know the ''1,ans'',it's a great way to use this function.
but why "1", didn't understand
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"
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!