Make function in function

I want to define a approximated function g(x) from f(x) with neural network but g(x) is too complicated so i want to simplify it to multiple function.
For example: define f = 5x+3 from f=g+3, g=3x.

回答 (1 件)

Stephen23
Stephen23 2022 年 5 月 12 日

0 投票

syms x
g = 5*x
g = 
f = g+3
f = 

カテゴリ

ヘルプ センター および File ExchangeImage Data Workflows についてさらに検索

製品

リリース

R2020b

質問済み:

2022 年 5 月 12 日

回答済み:

2022 年 5 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by