Input method of e in matlab: First open the MATLAB command window; then enter "exp(1)" in the MATLAB command window to get e.
The operating environment of this article: windows7 system, DELL G3 computer, matlab R2020a version
e as an irrational constant, can be passed in the MATLAB command window Enter exp(1) to get.
For example, exp(3)
means e^3
, which is the third power of e.
Among them,
e is the base of the natural logarithm, which is an infinite non-repeating decimal. Its value is 2.71828..., defined as follows:
When n->∞, the limit of (1 1/n)^n.
e is used a lot in science and technology, and logarithms with base 10 are generally not used. With e as the base, many formulas can be simplified. It is the most "natural" to use it, so it is called "natural logarithm".
In order to commemorate the contribution of mathematician Euler to mathematics, later generations chose e (the initial letter of Euler's name) to represent this irrational constant.
For more related knowledge, please visit the FAQ column!
The above is the detailed content of How to enter e in matlab. For more information, please follow other related articles on the PHP Chinese website!