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 can i used loops instead of polyfit function

drow midpoint circle for scan converting acircle in matlab

How do you write a programme that asks the user for a number between 1 and 1000 and calculates the sum of its digits?

Solve the optimality condition for each P equation against M according to the following relation: Condition for Optimality:         ∇ M = λ ∇ P      with respect to C and T.

please tell me the procedure of Anova two Way analysis in matlab?

The game of Simpli ed Poker is a simple game by today''s standards. You start o with a standard deck of cards, shue the cards, and then give each player 3 cards. Each card has a


clear tic L=1; T=0.2; nust=2000; dt=T/nust; n=40; dx=L/n;   r=1;  omega=10:10:5000;%Store Range of Frequencies for Simulation u=zeros(n+1,nust+1);%

Vectors and Matrices: The Vectors and matrices are used to store sets of values, all of which are similar type. A vector can either be a column vector or a row vector. The mat

It is desired to determine the DFT of the analogue signal x (t) = 25 cos(10 Πt)cos(400Πt). (a) Find the Nyquist rate of the signal.   (b) What is the record (signal) length i