How to calculate the integration with Matlab?
Afficher commentaires plus anciens
I need support in calculating integration of function below. I tried to use int(), integral() in matlab documentation, but it did not work. You can help me either by providing key works so that I google it, or providing me matlab code as an example for later use. Thanks

2 commentaires
Jan
le 26 Mar 2018
This looks like a homework question: "10pt". Then please post, what you have tried so far and ask a specific question. See how-do-i-get-help-on-homework-questions. Thanks.
Rena Berman
le 5 Avr 2018
(Answers Dev) Restored edit
Réponse acceptée
Plus de réponses (1)
Walter Roberson
le 26 Mar 2018
0 votes
When you have a fixed number of samples then evaluate the function at the provided locations and use trapz()
1 commentaire
Trung Khoa Le
le 26 Mar 2018
Catégories
En savoir plus sur Programming dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!