MATLAB: How to plot exponential function

exponentialmatlab function

hello! so i am kinda confused with how to change this to matlab code, because i've tried exp*(-1000*|t|) still not working
pls help me! thank you!
x(t)=exp(-1000|t|)

Best Answer

syms t
x=exp(-1000*abs(t))
fplot(x)