How to solve this problem?
1 view (last 30 days)
Show older comments
Problem 1. Provide the option to load a data file. You will then need to create a time vector corresponding to the number of data points based on the sample rate.
Problem 2. Allow the user to change the data frequency.
Problem 3. Plot the data using subplots, allowing the user to select the number of rows and columns for the subplot. Use a function to generate the subplots. Be as generic as possible.
Problem 4. Plot the data with statistics. Allow the user to select the statistic first (mean, max, standard dev). Put all of this in one or more functions.
General information: Use functions! Put them at the end of the code after the main script. Try to be as generic as possible and minimize hard-coding.
3 Comments
Answers (0)
See Also
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!