Question: Using Matlab: Create a plotting tool that accepts a vector or matrix from the user and asks which type of plot to generate (offer: plot,
Using Matlab:
Create a plotting tool that accepts a vector or matrix from the user and asks which type of plot to generate (offer: plot, bar, pie, polar, mesh, meshc, surface). You will need to determine whether the type of plot requested works for the data provided (a vector should be plotted in plot, bar, pie or polar; a matrix should be plotted with mesh, meshc, surface). Use a switch statement to cycle through the plot options. Name your script plotTool.m
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
