I am new to MATLAB and I need to introduce e (- t 2 ) .
I know that, for example, I use exp(x) to represent e x , and I tried the following
1) tp = t ^ 2; / tp = t * t; x = exp (-tp);
2) x = exp (-t ^ 2);
3) x = exp (- (t * t));
4) x = exp (-t) * exp (-t);
What is the right way to do this?
matlab exponential exp
user573382
source share