Borrar filtros
Borrar filtros

Question about latex synthax

1 visualización (últimos 30 días)
Karel
Karel el 2 de Ag. de 2012
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?

Respuesta aceptada

Honglei Chen
Honglei Chen el 2 de Ag. de 2012
add {} around y1(x) and y2(x), like this
$$I(f)=\int_a^b \int_ {y1(x)}^{y2(x)} f(x,y) \dy \dx$$

Más respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by