Question: How to export data from a PDE using using Export (Matrix)?

Hello every one, 

Here I will recall the PDE and its numerical solutiion provided by Maple help. 

PDE := diff(u(x,t),t)=-diff(u(x,t),x);

IBC := {u(x,0)=sin(2*Pi*x),u(0,t)=-sin(2*Pi*t)};

pds := pdsolve(PDE,IBC,numeric,time=t,range=0..1);

p1:=pds:-plot(t=0,numpoints=50):
p2:=pds:-plot(t=1/8,numpoints=50,color=blue):
p3:=pds:-plot(t=1/4,numpoints=50,color=green):
plots[display]({p1,p2,p3});

I want to export data from the above plot in a Matrix form.

The output should be some thing like this

x             u(t=0)                     u(t=1/8)    u(t=1/4)            

 0       3.57764586801484     3.566777889   4.5555

.1e-1   3.78376648646939    3.8999999      3.44444

.2e-1    3.99499933945716   3.99999999     6.77777

Note: I just need the numerical data not the labelling of the variables. 

Thanks

Please Wait...