How to write integral equation ?
Mostrar comentarios más antiguos
I like to check if my code represent the equation. Please help
10 comentarios
David Hill
el 5 de Sept. de 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
el 5 de Sept. de 2020
Michael Crown
el 5 de Sept. de 2020
David Hill
el 5 de Sept. de 2020
What is your function D with respect to c? For example:
D=@(c)5*c.^2+4*c-10;
Michael Crown
el 5 de Sept. de 2020
Michael Crown
el 5 de Sept. de 2020
Walter Roberson
el 5 de Sept. de 2020
It looks to me as if you should be using trapz()
Michael Crown
el 5 de Sept. de 2020
David Hill
el 5 de Sept. de 2020
Yes, attach full code and ask a specific question.
Michael Crown
el 5 de Sept. de 2020
Respuesta aceptada
Más respuestas (3)
Michael Crown
el 6 de Sept. de 2020
Editada: Walter Roberson
el 6 de Sept. de 2020
Michael Crown
el 10 de Sept. de 2020
0 votos
Categorías
Más información sobre Numerical Integration and Differentiation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!