Problem 44934. Plot Damped Sinusoid
Given two vectors t and y, make a plot containing a blue ( b ) dashed ( -- ) line of y versus t.
Mark the minimum value m of the vector y by adding a point to the plot. This point should be a red asterisk marker, and it must be added after the blue line.
Return the minimum value of y as output m.
Solution Stats
Problem Comments
-
19 Comments
The problem description should be: tinker with your perfectly valid code until the shoddy testing routines are satisfierd with your results. Does not recognise scatter as a part of the solution.
watch out! You also have to output the minimum value
I agree with some comments regarding what doing with m, but finally I got it. But It's impossible to pass test because it does not recognize "blue" "b" or LineStyle double dash "---"
Solution Comments
Show commentsProblem Recent Solvers9002
Suggested Problems
-
3705 Solvers
-
2491 Solvers
-
7351 Solvers
-
357 Solvers
-
Find Air Temperature from Cricket Stridulation Rate
865 Solvers
More from this Author13
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!