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?

 채택된 답변

Torsten
Torsten 2015년 7월 28일
편집: Azzi Abdelmalek 2015년 7월 28일

0 개 추천

Try
simplify(ynew)
Best wishes
Torsten.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 System Identification Toolbox에 대해 자세히 알아보기

질문:

2015년 7월 28일

댓글:

2015년 7월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by