x = [0:pi/500:1*pi];
t = [0:0.01:10];
w = 1;
[X,T] = meshgrid(x,t);
A =1
u = exp(X.*sqrt(w/2)).*cos(w.*T+X.*sqrt(w/2));
surf(X,T,u,'FaceColor','interp','EdgeColor','none','FaceLighting','phong')
camlight left
xlabel('X')
ylabel('T')
zlabel('U')
title('{\it{e}^{x\surd (\omega/2)}cos({\it\omega t + x\surd (\omega/2)})}')