The integral with the Trapezoidal method

1 Ansicht (letzte 30 Tage)
Rooter Boy
Rooter Boy am 20 Jan. 2021
Kommentiert: Mathieu NOE am 21 Jan. 2021
The C code, which finds the following integral with the Trapezoidal method, is given below. I want to solve this question below in Matlab but i didn't do it. This is simple question but i can't do it. If someone will help me, i will be very happy.
My tried Matlab code:
  4 Kommentare
Bjorn Gustavsson
Bjorn Gustavsson am 21 Jan. 2021
If you have just started using matlab it is typically a good idea to look at the matlab onramp videos, demos and presentations etc. That way you will get up to speed on everything matlab-related faster, and then you can proceed faster with the programming-tasks and it will be clearer what part of your problems are matlab-related and what parts are related to algorithms or numerical issues.
Also welcome to matlab-central!
Mathieu NOE
Mathieu NOE am 21 Jan. 2021
let me see that you have started to work out your code and i'll be happy to give you a hand ...

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Numerical Integration and Differential Equations finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by