RosettaCodeData/Task/Real-constants-and-functions/MATLAB/real-constants-and-functions.m
Ingy döt Net 776bba907c Sync
2013-10-27 22:24:23 +00:00

11 lines
249 B
Matlab

exp(1) % e
pi % pi
sqrt(x) % square root
log(x) % natural logarithm
log2(x) % logarithm base 2
log10(x) % logarithm base 10
exp(x) % exponential
abs(-x) % absolute value
floor(x) % floor
ceil(x) % ceiling
x^y % power