Scientific Computing & Visualization
Help Contact
About Accounts Computation Visualization Documentation Services

Introduction to MATLAB

Elementary Math Intrinsic Functions

>> abs(x)       % absolute value of x  
>> exp(x)       % e to the x-th power  
>> fix(x)       % rounds x to integer towards 0  
>> log10(x)     % common logarithm of x to the base 10  
>> rem(x,y)     % remainder of x/y  
>> sqrt(x)      % square root of x  
>> sin(x)       % sine of x; x in radians  
>> acoth(x)     % inversion hyperbolic cotangent of x  
>> help elfun   % get a list of all available elementary functions

left right up
Documentation
Boston University
Boston University
 
OIT | CCS | July 7, 2009  
Scientific Computing & Visualization Boston University home page Boston University home page