How to write integral equation ?
이전 댓글 표시
I like to check if my code represent the equation. Please help
댓글 수: 10
David Hill
2020년 9월 5일
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
2020년 9월 5일
Michael Crown
2020년 9월 5일
David Hill
2020년 9월 5일
What is your function D with respect to c? For example:
D=@(c)5*c.^2+4*c-10;
Michael Crown
2020년 9월 5일
Michael Crown
2020년 9월 5일
Walter Roberson
2020년 9월 5일
It looks to me as if you should be using trapz()
Michael Crown
2020년 9월 5일
David Hill
2020년 9월 5일
Yes, attach full code and ask a specific question.
Michael Crown
2020년 9월 5일
채택된 답변
추가 답변 (3개)
카테고리
도움말 센터 및 File Exchange에서 Numerical Integration and Differentiation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!