x=0:0.1:10; y=exp(-x.^2); plot(x,y) Answer from Azzi Abdelmalek on mathworks.com
Discussions

How can I write E2 in MATLAB? is it expint?
How can I write E2 in MATLAB? is it expint? . Learn more about exponential integral, integral MATLAB More on mathworks.com
🌐 mathworks.com
1
0
March 7, 2022
exponential - How to represent e^(-t^2) in MATLAB? - Stack Overflow
Bring the best of human thought and AI automation together at your work. Explore Stack Internal ... I am a beginner in MATLAB, and I need to represent e(-t2). More on stackoverflow.com
🌐 stackoverflow.com
How do you put the constant e on matlab
How do you put the constant e on matlab. Learn more about constant, e More on mathworks.com
🌐 mathworks.com
3
1
March 30, 2018
(e^(-2x))-2x+1
I want to plot the above equation in Matlab but i don't know how to plot. More on mathworks.com
🌐 mathworks.com
1
0
November 26, 2019
Find elsewhere
🌐
MathWorks
mathworks.com › matlabcentral › answers › 651518-how-to-plot-f-y-e-x-sin-2x-function-in-matlab
How to plot f: y=e^-x.sin^2x function in matlab? - MATLAB Answers - MATLAB Central
November 17, 2020 - 2x is not valid matlab syntax. Use 2*x if x is a scalar or 2.*x if x is an array. Or, sin(x)^2 · Sign in to comment. Sign in to answer this question. Find more on Entering Commands in Help Center and File Exchange
🌐
EDUCBA
educba.com › home › data science › data science tutorials › matlab tutorial › exponential in matlab
Exponential in Matlab | How to do Exponential in Matlab?
March 13, 2023 - Then we write the exponential equation using exp function, we take an exp in parenthesis x1 is multiply by 2 and these exponential values are assigned to variable y1, the equation is y1 = e^x, the value of x1 is varied from -5 to 20 and according ...
Address   Unit no. 202, Jay Antariksh Bldg, Makwana Road, Marol, Andheri (East),, 400059, Mumbai
🌐
UNSW Sites
maths.unsw.edu.au › sites › default › files › MatlabSelfPaced › lesson1 › MatlabLesson1_Complex.html
MATLAB Lesson 1 - Complex numbers
Challenge your maths skills with our flagship journal, offering articles that enhance teaching and learning in senior secondary maths, covering applied maths, modelling, pure maths, statistics, and the history of maths.
🌐
MathWorks
mathworks.com › matlabcentral › answers › 328438-writing-an-exponential-equation-in-the-title
Writing an exponential equation in the title - MATLAB Answers - MATLAB Central
March 6, 2017 - I would like to write my exponential equation in the title of my figure. Right now I have: title(['y = ',num2str(a),' x^', (num2str(n))]); The problem is my equation comes out as: y = ...
🌐
MathWorks
mathworks.com › matlabcentral › answers › 241775-how-can-i-plot-y-e-2x-sin2x-and-its-derivative-on-the-same-graph-using-two-different-colors
how can I plot y = e^(-2x)Sin2x and its derivative on the same graph using two different colors? - MATLAB Answers - MATLAB Central
September 9, 2015 - https://www.mathworks.com/matlabcentral/answers/241775-how-can-i-plot-y-e-2x-sin2x-and-its-derivative-on-the-same-graph-using-two-different-colors#answer_191831 ... The easiest solution is to use the gradient function rather than diff.
🌐
MathWorks
mathworks.com › matlabcentral › answers › 68299-how-to-write-e-in-matlab
How to write e in matlab - MATLAB Answers - MATLAB Central
March 22, 2013 - I couldn't figure out from your question whether you wanted the value e = exp(1) = 2.71828182845905, or whether you wanted to know how to raise e to some expression, like exp(-2*t/T) but you already seemed to know how to do that.
🌐
Matlab Scripts
matlabscripts.com › how-to-write-an-equation-in-matlab
How to Write an Equation in Matlab Made Easy
February 8, 2026 - Consider this example, finding the root of \(x^3 - 2x - 5 = 0\): % Finding root of a nonlinear equation f = @(x) x.^3 - 2*x - 5; % define the function root = fzero(f, 2); % numerical solution starting from x = 2 · This approach demonstrates ...