# Integration in matlab

1. Mar 9, 2012

### p3dro0

hell, i have been trying to compute the integral of an expression in matlab, but when it comes to the integration part i cant get the right result. i tried the quad function, and one named romberg i found online. I have been told the ode23 function could work, but i cant figure out how to use it.

I've already created the function in matlab and tested it for some values, and they are correct, but when it comes to the integration part i cant get it right.

does anyone have some ideas on what can i do?

thanks