function of neural network

i want to build a Neural Network for function f(x,y,z)=exp-(x^2+y^2+z^2)

Answers (1)

Use fitnet with a 3-dimensional (x,y,z) input of size [ 3 N ] and a corresponding 1-dimensionalal (f) target of size [ 1 N ].
help fitnet
doc fitnet
Hope this helps.
Thank you for formally accepting my answer
Greg

2 Comments

would please give an example
Learn how to do it yourself:
1. Read the documentation and it's examples
help fitnet
doc fitnet
2. Look at previous posts in both the NEWSGROUP and ANSWERS. Search using the word fitnet
past year all-time
NEWSGROUP 20 79
ANSWERS 96 405
Hope this helps.
Greg

Sign in to comment.

Categories

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

Products

Asked:

on 4 Jul 2016

Commented:

on 4 Jul 2016

Community Treasure Hunt

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

Start Hunting!