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
Illustration of Sorting strings: To sort on the rows rather than second dimension should be specified. >> sort(words,2) ans = Hello Hdowy Hi Gbdeo

Finding a sting - function strfind: The function strfind does necessarily similar thing, except that the order of the arguments does make dissimilarity. The common form is str

Modular programs: In a modular program, the answer is broken down into modules, and each is executed as a function. The script is usually known as the main program. In orde

Reading from a Mat-File: The load function is used to read from various types of files. As with save function, by default the file will be supposed to be a MAT-file, and load

Subfunctions: Though, it is possible to have more than one function in a given M-file. For illustration, if one function calls the other, the first function would be the prima


Algorithm for the function e: The algorithm for the function eoption is as shown: Use the menu function to show the 4 choices. Error-check (an error would take place

Binary Search: The binary search supposes that the vector has been sorted first. The algorithm is just similar to the way it works whenever looking for a name in a phone direc

1. Write a MATLAB function (upperTriangle) using the functions you previously created to convert a matrix to upper triangular form. Start with row 1, column1. Find the row that has

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