Make function in function

1 view (last 30 days)
space12345678
space12345678 on 12 May 2022
Answered: Stephen23 on 12 May 2022
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.

Answers (1)

Stephen23
Stephen23 on 12 May 2022
syms x
g = 5*x
g = 
f = g+3
f = 

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!