Use the MATLAB help function to find information about the f

Use the MATLAB help function to find information about the following topics and symbols. The goal of this problem is to test your ability on using the MATLAB help command and help window. The description for each command must include the syntax and shouldn’t exceed more than 3 lines. \"Plot, text, barh, Whos, Label, :, and Subplot\"

Solution

1. plot(X,Y) : This function is used to create 2d line plot of data in Y versus X

2. text: adds the string in quotes to the location specified by the point (x,y) x and y must be numbers of class double

e:g text(x,y,\'string\')

3. barh : is used to plot a bar horizontally e:g barh(Y) draws one horizontal bar for each element in Y.

barh(x,y) draws a bar for each element in Y at locations specified in x

4. Whos : This function is used to display all variables in currently active workspace with information about their sizes and types

whos(variable) displays information about particular variable

5. Label : The Label block labels the objects in a binary image, BW, where the background is represented by pixels equal to 0 (black) and objects are represented by pixels equal to 1 (white).

6. Subplot : subplot(m,n,p) divides the current figure into an m-by-n grid and creates an axes in the grid position specified by p. MATLAB® numbers its grids by row, such that the first grid is the first column of the first row, the second grid is the second column of the first row, and so on.

Use the MATLAB help function to find information about the following topics and symbols. The goal of this problem is to test your ability on using the MATLAB he

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site