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
-
Select every other element of a vector
37252 Solvers
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15819 Solvers
-
Get the area codes from a list of phone numbers
1076 Solvers
-
Create a cell array out of a struct
2597 Solvers
-
1702 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!