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 Solvers9218
Suggested Problems
-
Given a matrix, swap the 2nd & 3rd columns
1137 Solvers
-
Check that number is whole number
4557 Solvers
-
4016 Solvers
-
Find x rows where the sum of the numbers is the maximum
455 Solvers
-
505 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!