jontas
Computer
- Jul 13, 2004
- 2
I'm trying to plot or get a surface of this 2D gaussian function.
h = A * exp(-s^2/S) * exp(t^2/T)
where
s = x*cos(alpha) + y*sin(alpha) -r;
t = -x*sin(alpha) + y*cos(alpha);
A, , r, S, T, alpha are given!!!!
I'm new to matlab and is not sure which plotting function to use or even how to write a program to do it
h = A * exp(-s^2/S) * exp(t^2/T)
where
s = x*cos(alpha) + y*sin(alpha) -r;
t = -x*sin(alpha) + y*cos(alpha);
A, , r, S, T, alpha are given!!!!
I'm new to matlab and is not sure which plotting function to use or even how to write a program to do it