Creation of Artificial Neural Networks (ANN) in Matlab
Here an example of using nntool by creation ANN in Matlab
we take a Sin(x)
for exemple
Follow this steps below:
1-we write the code and run it (in this case i use sin(x))
2-in COMMAND WINDOW we write nntool
> import
.
after that we choose x for input data
and y for target data
3-choose new
4- x for input data
and y for target data
and entre creat
5-double click on network1
6-choose x for input and y for target
7-train and rechang "mu" and "max fail" then entre train network
8-Export
Important
choose outputs then Export the step 8 is important as you see here in image below if we forget step 8 you can't design the graph
9-in COMMAND WINDOW we write
10-the final result :)
I hope that the project works smoothly for you, and if you encounter any problem, contact me. Thank you :)