Integrating Expressions in MATLAB: Need Help!

  • Context: MATLAB 
  • Thread starter Thread starter p3dro0
  • Start date Start date
  • Tags Tags
    Integration Matlab
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 3K views
p3dro0
Messages
1
Reaction score
0
hell, i have been trying to compute the integral of an expression in matlab, but when it comes to the integration part i can't 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 can't 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 can't get it right.

does anyone have some ideas on what can i do?

thanks
 
Physics news on Phys.org