How do i perform variable change substitution in either mupad or symbolic

2 ビュー (過去 30 日間)
Neal Morgan
Neal Morgan 2016 年 12 月 12 日
編集済み: Neal Morgan 2016 年 12 月 13 日
I would like to convert an expression such as diff(Ur,r) to diff(Ur,NormR) where NormR(r,theta)=(RO-r)/(RO-Rw(theta)) with the symbolic functions of matlab.
the diff(Ur,r) is inside a larger expression and there are other derivatives with respect to r i would also like to change. Obviously on paper this is simple with a chain rule expansion to switch variables.
For example:
Continuity:=simplify(combine(eval(-rho*divu=ur/r*diff(r*rho,r)+ut/r*diff(rho,t)+uz*diff(rho,z))))
I would like to change the variable r to NormR which is a function of R in the above equation.

回答 (0 件)

カテゴリ

Help Center および File ExchangeNumeric Solvers についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by