Can I substitute a particular expression?
이전 댓글 표시
subexpr() discovers a common subexpression and rewrites a symbolic expression in terms of the found subexpression. How can I similarly rewrite an expression in terms a given subexpression? For example, I would like to use sigma = k^(1/2) to obtain:
sigma, sigma^3, sigma^5
out of
k^(1/2), k^(3/2), k^(5/2)?
댓글 수: 3
Ajay Chauhan
2021년 7월 23일
Hi Valeri,
I am trying to understand the use of subexpr(). It would be great if you could share a few examples/snippet so as to get an idea what needs to be substituted.
Valeri Aronov
2021년 7월 23일
Valeri Aronov
2021년 7월 24일
편집: Valeri Aronov
2021년 7월 24일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Numeric Solvers에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



