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 Solvers9229
Suggested Problems
-
19257 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
613 Solvers
-
Determine the number of odd integers in a vector
755 Solvers
-
1477 Solvers
-
459 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!