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?

 Akzeptierte Antwort

Torsten
Torsten am 28 Jul. 2015
Bearbeitet: Azzi Abdelmalek am 28 Jul. 2015

0 Stimmen

Try
simplify(ynew)
Best wishes
Torsten.

Weitere Antworten (0)

Kategorien

Mehr zu System Identification Toolbox finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by