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
Variable names: Variable names are an example of the identifier names. The rules for identifier names are as shown below: (A)The name should begin with a letter of the alph

Creating Matrix Variables: Creating a matrix variable is actually just a generalization of creating a row and column vector variables. That is, the values within the row are s

Command Window: To the left of the Command Window, there are 2 tabs for the Current Directory Window and Workspace Window. If the Current Directory tab is selected, the files

my project is on load frequency control using FPID tuned using GA and PSO algorithm.the system is a two area system.

How to Start Working withSimpower: 1. In the Simulink screen, open a new "Model" (File àNewà Model), name it and save it. 2. Expand the SimPowerSystems library, select and

Illustration of script: For illustration, we will now generate a script known as script1.m which calculates area of the circle. It assigns a value for the radius, and then com


1) Convert the table into format convenient for the processing with MATLAB. 2) Prepare a program that perform K Nearest Neighbours algorithm using Euclidian distance. (Your prog

To change a variable: To change a variable, the other assignment statement can be used that assigns the value of a different expression to it. Consider, for illustration, the

Create a GUI that has A button to bring up a dialog to select a text file and read it in. Plot the x,y values on the GUI Have text entry values, one for each parameter, in which