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
-
21 Comments
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 "---"
It's a good question to solve
It should accept scatter as a plot for the minimum value of y haha
Solution Comments
Show commentsProblem Recent Solvers9206
Suggested Problems
-
1208 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
11956 Solvers
-
376 Solvers
-
486 Solvers
-
7586 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!