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!