Help command, MATLAB in Engineering

Help command:

The help command is used with the script rectarea, the function readlenwid, and the major function printrectarea. To see the first comment in the subfunction, as it is contained within the file printrectarea.m, the operator

> is used to identify both the primary and subfunctions:

 

>> help rectarea

  This program computes & prints the rectangle area

>> help printrectarea

  This function prints the area of rectangle

  It calls the subfunction to compute the area

>> help printrectarea>calcrectarea

  This function computes the rectangle area

 

 

Posted Date: 10/19/2012 8:23:31 AM | Location : United States







Related Discussions:- Help command, Assignment Help, Ask Question on Help command, Get Answer, Expert's Help, Help command Discussions

Write discussion on Help command
Your posts are moderated
Related Questions
Example to change the line width from the default: For illustration, to change the line width from the default of 0.5 to 1.5: >> set(hl,'LineWidth',1.5) As long as the

Function issorted - set operations: The function issorted will return 1 for logical true when the argument is sorted in ascending order (minimum to maximum), or 0 for false wh

Example of file ploting data: As the other example, a data file called 'compsales.dat' stores the sales figures (in millions) for divisions in a company. Each line in the f

Use polyval to evaluate the derivative at xder. This will be the % slope of the tangent line, "a" (general form of a line: y = ax + b). % 4. Calculate the intercept, b, of t

Scaling:   change a row by multiplying it by a non-zero scalar sri →  ri For illustration, for the matrix:

Calling of Function polyval: The curve does not appear very smooth on this plot, but that is as there are only five points in the x vector. To estimate the temperature

Intersect function and setdiff function: The intersect function rather than returns all the values which can be found in both of the input argument vectors. >> intersect(v

Defined a variable in work space: The variables defined in the script will become a part of the workspace: >> clear >> who >> mysummfile    15 >> who

Finding sums and products: A very general application of a for loop is to compute sums and products. For illustration, rather than of just printing the integers 1 through 5, w

Image Processing: The Images are represented as grids, or matrices, of picture elements (known as pixels). In MATLAB an image usually is represented as a matrix in which each