//Plotter.plot(p.getData(), "function output");
//now here are a couple of function bases ...
Function g1 = new GaussianPDF(0, 1);
Function g2 = new GaussianPDF(0.5f, 1);
FunctionBasis gaussianBasis = new FunctionBasisImpl(new Function[]{g1, g2});
//here is a plot of the probed vector X the gaussian basis (value at time 4.5s) ...
gaussianBasis.setCoefficients(p.getData().getValues()[4500]);
//Plotter.plot(gaussianBasis, -3, .001f, 3, "gaussian basis plot");
Function s1 = new SigmoidFunction(0, 1, 0, 1);
Function s2 = new SigmoidFunction(0.5f, -1, 0, 1);
FunctionBasis sigmoidBasis = new FunctionBasisImpl(new Function[]{s1, s2});
//here is a plot of the probed vector X the sigmoid basis (value at time 0.5s) ...
sigmoidBasis.setCoefficients(p.getData().getValues()[500]);
//Plotter.plot(sigmoidBasis, -3, .001f, 3, "sigmoid basis plot");
} catch (StructuralException e) {
e.printStackTrace();
} catch (SimulationException e) {