How to write integral equation ?
Afficher commentaires plus anciens
I like to check if my code represent the equation. Please help
10 commentaires
David Hill
le 5 Sep 2020
What is your function D(c)? Or is it an array? Depending on what D(c) is, and assuming you want a numerical solution, it should not be a hard problem.
Michael Crown
le 5 Sep 2020
Michael Crown
le 5 Sep 2020
David Hill
le 5 Sep 2020
What is your function D with respect to c? For example:
D=@(c)5*c.^2+4*c-10;
Michael Crown
le 5 Sep 2020
Michael Crown
le 5 Sep 2020
Walter Roberson
le 5 Sep 2020
It looks to me as if you should be using trapz()
Michael Crown
le 5 Sep 2020
David Hill
le 5 Sep 2020
Yes, attach full code and ask a specific question.
Michael Crown
le 5 Sep 2020
Réponse acceptée
Plus de réponses (3)
Michael Crown
le 6 Sep 2020
Modifié(e) : Walter Roberson
le 6 Sep 2020
Michael Crown
le 10 Sep 2020
0 votes
Catégories
En savoir plus sur Numerical Integration and Differentiation 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!