trapezoidal numerical integration within a function
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello :)
I need to perform a trapezoidal intergration however i am unsure how to do this inside a fuction as i have only every done it with out. any help is very much apriacted.
3 Kommentare
Ameer Hamza
am 15 Mai 2020
Are you trying to integrate x*sin(x) from 1 to 100? What is the role of 'inarray' here?
Antworten (1)
Nikhil Sonavane
am 19 Mai 2020
I would suggest you go through the documentation of trapz function as that would help you trapezoidal numerical integration efficiently.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Numerical Integration and Differentiation 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!