You may want the exponential function (link), the base of the natural logarithms. Answer from Star Strider on mathworks.com
Discussions

Why Euler's number e = 2.71828... is not a built-in constant in MATLAB?
I understand that we can produce that number in MATLAB by evaluating exp(1), or possibly using exp(sym(1)) for the exact representation. But e is a very common constant in mathematics and it is as ... More on mathworks.com
🌐 mathworks.com
2
1
June 17, 2020
Why Euler's number e = 2.71828... is not a built-in constant in MATLAB?
I understand that we can produce that number in MATLAB by evaluating exp(1), or possibly using exp(sym(1)) for the exact representation. But e is a very common constant in mathematics and it is as... More on researchgate.net
🌐 researchgate.net
11
0
June 19, 2020
How do i actually use the e to the power of something in matlab?
If you are referring to the constant "e" (2.718....), then use exp(x*t) More on reddit.com
🌐 r/matlab
4
2
February 5, 2021
Matlab says that the 'e' is undefined
Hi, I trying to get an integral of a simple function F(x) = 3*x.^2 + e.^(2*x) and matlab won't let me enter the equation, so I am stuck with figuring out how to enter in the function F(x) into ... More on mathworks.com
🌐 mathworks.com
2
0
July 26, 2017
🌐
MathWorks
mathworks.com › matlab › mathematics › elementary math › exponents and logarithms
exp - Exponential - MATLAB
This function fully supports distributed arrays. For more information, see Run MATLAB Functions with Distributed Arrays (Parallel Computing Toolbox). ... The exp function can calculate on all variables within a table or timetable without indexing to access those variables.
🌐
MathWorks
mathworks.com › matlab › mathematics › elementary math › exponents and logarithms
Powers and Exponentials - MATLAB & Simulink
The m in sqrtm distinguishes this function from sqrt(A), which, like A.^(1/2), does its job element-by-element. ... In addition to raising a matrix to a power, you also can raise a scalar to the power of a matrix. ... When you raise a scalar to the power of a matrix, MATLAB uses the eigenvalues and eigenvectors of the matrix to calculate the matrix power.
Find elsewhere
🌐
UNSW Sites
maths.unsw.edu.au › sites › default › files › MatlabSelfPaced › lesson1 › MatlabLesson1_Complex.html
MATLAB Lesson 1 - Complex numbers
By teaching you the quantitative skills employers want, Mathematics and Statistics courses prepare you for a wide variety of careers. As the largest School of Mathematics and Statistics in Australia, UNSW offers a complete range of courses in mathematics and statistics at all levels.
🌐
MathWorks
mathworks.com › matlabcentral › fileexchange › 77046-euler-s-number
Euler's Number - File Exchange - MATLAB Central
February 28, 2021 - Have you ever wondered why Euler's number e = 2.71828... is not a built-in constant in MATLAB? We can produce Euler's number in MATLAB by evaluating exp(1), or possibly using exp(sym(1)) for the exact representation.
🌐
MathWorks
mathworks.com › matlabcentral › answers › 646873-euler-s-number-syntax-in-matlab
Euler's number syntax in matlab - MATLAB Answers - MATLAB Central
November 13, 2020 - The gain in accuracy is because you first formed an approximation to exp(1) when you did e = exp(1). That value is NOT the exact number. It is a 52 binary bit approximation to the same number. In a binary scientific form, we might have written it as: 10.101101111110000101010001011000101000101011101101010 · But that is just what MATLAB stores.
🌐
MathWorks
mathworks.com › matlabcentral › answers › 706903-how-do-i-find-the-value-of-e
how do I find the value of E - MATLAB Answers - MATLAB Central
January 2, 2021 - Hello. I'm beginner at Matlab I want to find the value for E using the "solve" code clear all; clc; syms E M=1; y=0.1; L=1; a=0.01; n=1; u = -(E^2 - M^2); v = 1 + 2*(E^2 - M^2)*a; alpha...
🌐
MathWorks
mathworks.com › matlabcentral › answers › 46975-how-to-use-the-mathmatical-constant-e-in-conjunction-with-a-vector
how to use the mathmatical constant "e" in conjunction with a vector. - MATLAB Answers - MATLAB Central
August 29, 2012 - Your problem isn't the e, it's that the two parts you're trying to multiply are both vectors, hence you need .* instead of *: ... https://www.mathworks.com/matlabcentral/answers/46975-how-to-use-the-mathmatical-constant-e-in-conjunction-with-a-vector#comment_96661
🌐
MathWorks
mathworks.com › matlabcentral › answers › 1807605-change-exp-from-number-to-e
Change exp from number to e - MATLAB Answers - MATLAB Central
September 19, 2022 - Use sym arguments to exp, otherwise it reverts to the base Matlab numerical function.