example of plotting from a functionfor


Example of Plotting from a Function:

For illustration, the function can be called as shown below:

     >> y = [1:2:9].^3

     y =

    1  27  125  343  729

     >> rca = {'bar', 'area', 'plot'}

     >> plotywithcell(y, rca)

The function is common and works for any number of plot types stored in the cell array.

Request for Solution File

Ask an Expert for Answer!!
Applications of MATLAB: example of plotting from a functionfor
Reference No:- TGS0175226

Expected delivery within 24 Hours