Say I have a function psi, given as a series of x values and time.
x_3, x_4 and x_6 and t are matrices of length 2000.
I need to calculate psi for every value of t.
psi(1) = abs(x_1.*exp(((-1)./(x_3.^2))+((i*x_4)/(2))+(i*x_6))));
I get 2000 values. But i need to do this for 2000 values of t.
So psi needs to be a 2000x2000 matrix.
Annoyingly, ive got the concepts down, but the syntax is stumping me.