How to write integral equation ?
Ältere Kommentare anzeigen
I like to check if my code represent the equation. Please help
10 Kommentare
David Hill
am 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
am 5 Sep. 2020
Michael Crown
am 5 Sep. 2020
David Hill
am 5 Sep. 2020
What is your function D with respect to c? For example:
D=@(c)5*c.^2+4*c-10;
Michael Crown
am 5 Sep. 2020
Michael Crown
am 5 Sep. 2020
Walter Roberson
am 5 Sep. 2020
It looks to me as if you should be using trapz()
Michael Crown
am 5 Sep. 2020
David Hill
am 5 Sep. 2020
Yes, attach full code and ask a specific question.
Michael Crown
am 5 Sep. 2020
Akzeptierte Antwort
Weitere Antworten (3)
Michael Crown
am 6 Sep. 2020
Bearbeitet: Walter Roberson
am 6 Sep. 2020
Michael Crown
am 10 Sep. 2020
0 Stimmen
Kategorien
Mehr zu Numerical Integration and Differentiation finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!