Borrar filtros
Borrar filtros

Can you get one side of an equation and store it in a variable?

2 visualizaciones (últimos 30 días)
Say I have an equation object in Mupad:
eq1 := x + y = 0
Now say after some manipulation I want to drop RHS, and just save the LS in a variable like..
f := left( eq1 )
  2 comentarios
Sean de Wolski
Sean de Wolski el 3 de Jun. de 2011
That is Mathcad syntax. Are you using Mathcad?
Billy
Billy el 3 de Jun. de 2011
Sorry, using MuPad

Iniciar sesión para comentar.

Respuesta aceptada

Walter Roberson
Walter Roberson el 3 de Jun. de 2011
Within MuPad,
lhs(eq1)
and
rhs(eq1)

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by