Thanks! The Toolbox is great and Matlab now produces the same results as Maple. Unfortunately, Maple is having problems with this:
eqn:=a*diff(f(x),x)*g(x);
integrate(diff(eqn,x),x);
It fails to return the original eqn. It is the constant factor 'a' that seems to be mucking up the works.
EDIT:
I seem to have gotten this particular example to work. There are still a host of other, more complicated, expressions which fail this test. For example,
eqn := f(x)*g(x)+(diff(f(x), x))^2;
simplify(int(diff(eqn, x), x));
yields the original eqn, but,
eqn := f(x)*g(x)+a^2*(diff(f(x), x))^2;
simplify(int(diff(eqn, x), x));
does not. There must be a simple way to get this to work. Anyone?

Thanks! The Toolbox is great and Matlab now produces the same results as Maple. Unfortunately, Maple is having problems with this:
eqn:=a*diff(f(x),x)*g(x);
integrate(diff(eqn,x),x);
It fails to return the original eqn. It is the constant factor 'a' that seems to be mucking up the works.
EDIT:
I seem to have gotten this particular example to work. There are still a host of other, more complicated, expressions which fail this test. For example,
eqn := f(x)*g(x)+(diff(f(x), x))^2;
simplify(int(diff(eqn, x), x));
yields the original eqn, but,
eqn := f(x)*g(x)+a^2*(diff(f(x), x))^2;
simplify(int(diff(eqn, x), x));
does not. There must be a simple way to get this to work. Anyone?

Oh. I have actually been trying to accomplish this task from within the Matlab environment. I was making a call like maple('integrate','diff(f(x),x,x)*g(x)+diff(f(x),x)*diff(g(x),x)','x'). I guess I incorrectly assumed that the full functionality of Maple's integrate command was available from within Matlab.
I guess my question is then, "how to perform this integration from within Matlab?", but I suppose this forum is not the place to find that answer.
Anyway, if anyone knows an answer, it would be quite useful. Thanks.

Oh. I have actually been trying to accomplish this task from within the Matlab environment. I was making a call like maple('integrate','diff(f(x),x,x)*g(x)+diff(f(x),x)*diff(g(x),x)','x'). I guess I incorrectly assumed that the full functionality of Maple's integrate command was available from within Matlab.
I guess my question is then, "how to perform this integration from within Matlab?", but I suppose this forum is not the place to find that answer.
Anyway, if anyone knows an answer, it would be quite useful. Thanks.