Simple Neural network binary predictor

How can I change t x and t or simplefir_dataset from the code below to multiple inputs such as:
x = 000 , t = 0
x = 001, t = 0
...
x = 1, 1, 0, t = 1
...
(How can I make my own dataset?)
[x,t] = simplefit_dataset;
net = feedforwardnet(10);
net = train(net,x,t);
view(net)
y = net(x);
perf = perform(net,y,t)

Answers (0)

Asked:

on 5 Feb 2019

Community Treasure Hunt

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

Start Hunting!