Question about latex synthax
조회 수: 1 (최근 30일)
이전 댓글 표시
I am writing a formula in latex to insert into matlab. The problem is that I need to write an integral with has as interval y1(x) to y2(x)
I wrote $$I(f)=\int_a^b \int_ y1(x)^y2(x) f(x,y) \dy \dx$$ the problem is that the second intégral comes out wrong: instead of getting a subscript y1(x)and a superscript y2(x), I only get a subscript y, the rest comes out flatlined.
Any help?
댓글 수: 0
채택된 답변
Honglei Chen
2012년 8월 2일
add {} around y1(x) and y2(x), like this
$$I(f)=\int_a^b \int_ {y1(x)}^{y2(x)} f(x,y) \dy \dx$$
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!