How to write integral equation ?
Mostra commenti meno recenti
I like to check if my code represent the equation. Please help
10 Commenti
David Hill
il 5 Set 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
il 5 Set 2020
Michael Crown
il 5 Set 2020
David Hill
il 5 Set 2020
What is your function D with respect to c? For example:
D=@(c)5*c.^2+4*c-10;
Michael Crown
il 5 Set 2020
Michael Crown
il 5 Set 2020
Walter Roberson
il 5 Set 2020
It looks to me as if you should be using trapz()
Michael Crown
il 5 Set 2020
David Hill
il 5 Set 2020
Yes, attach full code and ask a specific question.
Michael Crown
il 5 Set 2020
Risposta accettata
Più risposte (3)
Michael Crown
il 6 Set 2020
Modificato: Walter Roberson
il 6 Set 2020
Michael Crown
il 10 Set 2020
0 voti
Categorie
Scopri di più su Numerical Integration and Differentiation in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!