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
function numden: The function numden will return individually the numerator & denominator of a symbolic expression: >> sym(1/3 + 1/2) ans = 5/6 >> [n, d] =

Use of While loop: Here is an illustration of calling the function, passing 5000 for the value of the input argument high. >> factgthigh(5000) ans = 5040 The itera

Program to Counting in a while loop: The script initializes variable counter to 0. Then, in the while loop action, each and every time the user successfully enter a number, th

Function rmfield - structure: The function rmfield eliminates a field from the structure. It returns a new structure with field eliminated, but does not modify the original st

IS Functions for Strings: There are many functions for strings, that return logical true or false. The function isletter returns the logical true when the character is a lette

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

printrectarea function: function call: printrectarea(length, width) function header: function printrectarea(len, wid)   In the function call, there are two argume

Data structures: The Data structures are variables which store more than one value. In order to made sense to store more than one value in a variable, the values must in some

Illustration of finding a sting: Let's enlarge this, and write a script which creates a vector of strings which are phrases. The outcome is not suppressed so that the string

Sound Files: The sound signal is an illustration of a continuous signal which is sampled to result in a discrete signal. In this situation, sound waves traveling through the a