Can I use integral with symbolic/variable interval values?
이전 댓글 표시
Hi. I'm wondering if it is possible to use, in some way, variable or symbolic interval values for the integral function. I need to solve a similar kind of problem shown below, can't think of a way to do it (my functions are quite huge, so it's not easy to somehow simplify it).
- Function 1: f(s)=...
- Function 2: g(x)=...
- f_new = integral(@(s) f, 0, x)
Now, both f_new and g is a function of x.
- Final function = integral(@(x) f_new*g, 0, 2)
Hope the question is somewhat clear. If not, just ask. Any help is appreciated! :)
채택된 답변
추가 답변 (1개)
Brede Løvik Lillehammer
2014년 1월 21일
1 개 추천
댓글 수: 1
Walter Roberson
2014년 1월 21일
int() is for symbolic integration. integral() is for numeric integration.
카테고리
도움말 센터 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!