matlab light函数,matlab常用函数(Matlab function).doc

matlab常用函数(Matlab function)

matlab常用函数(Matlab function)

1. Basic mathematical functions commonly used in MATLAB

Abs (x) : the absolute value of the scalar or the length of the vector

Angle (z) : Phase Angle of complex z

SQRT (x) : square

Real (z) : real part of complex z

Imag (z) : imaginary part of complex z

Conj (z) : complex conjugate of complex z

Round (x) : rounded to the nearest integer

Fix (x) : regardless of the positive and negative, the decimal to the nearest integer

Floor (x) : the floor function, that is, to give away the positive decimal to the nearest integer

Ceil (x) : the ceiling function, which is to add a positive decimal to the nearest integer

Rat (x) : the real x is the fraction representation

Rats (x) : transform real number x into multiple fractions

Sign (x) : Signum function.

When x is less than 0, sign (x) = -1;

When x is 0, sign (x) = 0;

When x > 0, sign (x) = 1.

Rem (x, y) : the remainder of x divided by y

GCD (x, y) : the greatest common factor of integer x and y

LCM (x, y) : the least common multiple of integer x and y

Exp (x) : natural index

Pow2 (x) : 2

Log of x: log base e, the natural log or

Log 2 of x: log base two

Log of 10 (x) : log base 10

2. MATLAB used trigonometric functions

Sine of x is the sine function

Cosine of x: cosine

Tangent of x: tangent function

Asin (x) : the inverse sine function

Acos (x) : the inverse cosine function

Atan (x) : inverse tangent function

Atan2 (x, y) : the four-quadrant inverse tangent function

Sinh (x) : beyond the sine function

Cosh (x) : beyond the residual string function

Tanh (x) : beyond the tangent function

Asinh (x) : the inverse sine function

Acosh (x) : invert the residual string function

Atanh (x) : inverse tangent function

3. Common functions applicable to vectors are:

Min (x) : the minimum value of the element of x

Max (x) : the maximum value of the element x

Mean (x) : the average of the elements of x

Median (x) : the median of the elements of the vector x

STD (x) : the standard deviation of the element of x

Diff

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值