Friday, 26 June 2015

Matlab Plotting

Welcome again, to my Matlab Blog!

In this tutorial, we will  discuss most powerful feature of Matlab, PLOTTING!

Let's define a vector with name 'x' and range from 0 to 10 with step size 0.1

Workspace showing Vector X 

Plot command is used to plot the data. Syntax of plotting is described below:

Plotting command

After the execution of plot command, following window titled 'Figure 1' opened to show the results.


Plot Window

You can check the X and Y axis value at any instance by using/selecting 'Data Cursor' from the menu bar.

Plotting Menu

The results of plotting with activated data cursor.

Plotting window with Data Cursor

See you soon ... !

No comments:

Post a Comment