Built-in functions and help, MATLAB Programming

Built-In Functions and help:

There are lots of built-in functions in a MATLAB. The help command is used to find out what functions MATLAB has, and how to use them. For illustration, typing help at the prompt in the Command Window will represent a list of help topics that are the groups of related functions. This is a very big list; the most elementary help topics are in the starting.

For illustration, one of these is listed as matlab\elfun; it involves the elementary math functions. The other is the first help topics as matlab\ops that shows the operators which can be used in expressions.

To see the list of functions contained within aspecific help topic, type help followed by the name of the topic. For illustration,

>> help elfun

will represent a list of elementary math functions. It is a very big list, and is broken into trigonometric (for which the default is radians, but there are equivalent functions which rather than use the degrees), complex, exponential, and rounding and remainder functions.

 

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







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

Write discussion on Built-in functions and help
Your posts are moderated
Related Questions
Introduction to File Input/output (LOAD and SAVE): In most cases, the input to a script will come from a data file which has been generated by the other source. It is also use

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

Given the following image, 1 2 1 1 2 0 0 1 5 1 0 1

Output Statements: disp and fprintf: The Output statements display strings and the answers of expressions and can permit for formatting or customizing how they are exhibited.

Produce a random real number: To produce a random real number in the range from low to high, at first create the variables low and high. And then, use the expression rand*(hig

Random numbers: Whenever a program is being written to work with a data, and the data is not yet available, it is frequently useful to test the program first by initializing t

clear clc %% DATA INPUT filename = input('Enter file name, including its extension: ', 's'); D = load(filename); %or load('Mphi.out'); %% %Trendline %Evaluates

How to simulate a robot

Printing - matrices: For matrices, the MATLAB unwinds the matrix column by column. For illustration, consider the random 2 × 3 matrix as shown below: >> mat = randint(2,3,[

Job: Add sinusoid with frequency 1000 Hz and amplitude 100 to the one generated in Job 1 (: Create a function using mat lab to generate a sinusoidal signal. The parameters of the s