필터 지우기
필터 지우기

How to substituting repeated term

조회 수: 1 (최근 30일)
Abdulaziz Abutunis
Abdulaziz Abutunis 2015년 4월 1일
댓글: Michael Haderlein 2015년 4월 1일
Hi everyone,
Please, I have an equation that has repeated term (x/L) but exponentiate to different numbers. Is there any way to replace these terms by, for example x_L.
My equation:
Y=-((18*x)/L - (45*x^2)/L^2 + (60*x^3)/L^3 - (45*x^4)/L^4 + (18*x^5)/L^5 - (3*x^6)/L^6)
  댓글 수: 1
Michael Haderlein
Michael Haderlein 2015년 4월 1일
You mean like
x_L=x/L;
Y=-18*x_L-45*x_L^2+60*x_L^3-...
?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Numeric Solvers에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by