Question: In MATLAB create a plotting tool that accepts a vector or matrix from a user and asks which type of plot to generate. This tool

In MATLAB create a plotting tool that accepts a vector or matrix from a user and asks which type of plot to generate.

This tool created must offer: plot, bar, pie, polar, mesh, meshc, surface. 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).

Make sure to use a switch statement to cycle through the plot options.

please show all work. Thanks in advance!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!