Create a line plot for function cos(x) where x is a vector of linearly spaced values going from 0 to input N with an increment of 0.03 between values. Use a red dotted line with a * marker. The function must return the handle to your plot.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers327
Suggested Problems
-
Flip the main diagonal of a matrix
923 Solvers
-
Getting the indices from a vector
12395 Solvers
-
Getting the indices from a matrix
733 Solvers
-
Generate N equally spaced intervals between -L and L
955 Solvers
-
700 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!