Rewrite a symbolic function in terms of a defined function
이전 댓글 표시
How can I rewrite a symbolic expression or function in terms of another defined function? Specifically, I want to rewrite df in terms of f:
syms z
f=1/(1+exp(-z))
df=diff(f)
The result should be
f(1-f)
답변 (1개)
madhan ravi
2018년 11월 3일
편집: madhan ravi
2018년 11월 3일
syms z
f=1/(1+exp(-z))
df=diff(f)
isolate(df==1,f)
댓글 수: 4
madhan ravi
2018년 11월 3일
madhan ravi
2018년 11월 3일
편집: madhan ravi
2018년 11월 3일
if something is not clear let know with an example to get a clear picture
Amin Yahyaabadi
2018년 11월 3일
madhan ravi
2018년 11월 3일
As far as I know ,I don't think there is a command to do that
카테고리
도움말 센터 및 File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!