Illustration of built-in functions and help , MATLAB Programming

Illustration of Built-in functions and help:

To find out what a specific function does and how to call it, type help and then the name of function. Illustration:

>> help sin

will give a description of sin function.

To call a function, the name of the function is provided followed by the argument(s) which are passed to the function in parentheses. Most of functions then return value(s). For illustration, to find the absolute value of -4, the expression below would be entered:

>> abs(-4)

that is a call to the function abs. The parentheses number, the -4, is the argument. The value 4 would then be returned as an outcome.

 

Posted Date: 10/18/2012 3:35:57 AM | Location : United States







Related Discussions:- Illustration of built-in functions and help , Assignment Help, Ask Question on Illustration of built-in functions and help , Get Answer, Expert's Help, Illustration of built-in functions and help Discussions

Write discussion on Illustration of built-in functions and help
Your posts are moderated
Related Questions
MATLAB is a high-performance language for technical computing. It integrates computation, visualization, and programming in an easy-to-use environment where problems and solutions

what equation equals 36

i have a project in matlab : modeling of development of an outer organ (hand,leg and head) i don''t know how to do it, my teacher said me, i have to make it easy, so, it means i s

how to wriet program for batch reactor


MRI (magnetic resonance imaging) scanners allow doctors to now obtain complete body images for medical diagnosis purposes. The system produces scans which represent slices through

Barrier Option pricing in Matlab using MC simulation or finite difference methods

An environmental consulting firm is conducting a site investigation on an abandoned industrial site that is 200 m by 150 m in size (Fig. 1). A number of piezometers were installed

To accept two numbers from the user; Display all prime numbers between these two numbers.

logical operators: The logical operators are as shown below: All the logical operators operate on Boolean or logical operands. The not operator is a unary operator; wh