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
how to find matrix inverse using matlab command

Write the iterative Newton root nding function from lecture to be recursive. The function declaration should be root = newtonRec(f,df,x,tol). The inputs to the function are: ?

I want to know how to create a numerical solution code for analysing temperature/isotherms on a 2d square plate with a singular heat source and opposing edges being held at constan

How do I compute and plot a temperature profile along the x axis from -6 to 6 given the equation for steady state heat conduction and boundary conditions




Example of Hold and legend function: Running this script will generate two individual figure windows. If there is not any other active figure window, the first, that is the ba

how to code this function

Solve for unknowns 'x' and 'y' from Equations (1) and (2) using MATLAB. (However, if MATLAB is not the appropriate software to solve these two simultaneous equations, please sugges