My code is:
syms t b1 b2 real
y = 10*b1*t^2+20*b2*t^2;
ynew = y/t^2
And I get output as:
ynew = (10*b1*t^2 + 20*b2*t^2)/t^2
But instead I want:
ynew = 10*b1 + 20*b2
How can I do this?

 Respuesta aceptada

Torsten
Torsten el 28 de Jul. de 2015
Editada: Azzi Abdelmalek el 28 de Jul. de 2015
Try
simplify(ynew)
Best wishes
Torsten.

Más respuestas (0)

Categorías

Más información sobre System Identification Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 28 de Jul. de 2015

Comentada:

el 28 de Jul. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by