interporth2_error

Error in the orthogonal interpolation of F(x,t).


Syntax
   [f, X, T, F] = interporth2_error(x, t, solution, Fxt, errorsurf)

Description
   [f, X, T, F] = interporth2_error(varargin) returns the error in the
   approximation of F(x, t).

Inputs
   x         = independent tau variable (itau object).
   t         = independent tau variable (itau object).
   solution  = coefficients of approximate solution (double vector).
   Fxt       = function to compare (char).
   errorsurf = plots the error: 0 = no, 1 = yes.

Outputs
   f = maximum error (double).
   X = grid on x (double matrix). 
   T = grid on t (double matrix).
   F = pointwise error in the retangular domain (double matrix).