1. NEWFF is obsolete . What version of MATLAB and NNTBX are you using? Type the command
2. You have made the solution too complicated. See the examples in the documentation
In particular,
a. Understand what properties are defaults
b. Practice on a MATLAB nndataset with dimensions similar to yours
before using your own data set
help nndatasets
c. Start by using all of the defaults. Then change if needed.
3. Too much transposing. Only have to transpose once:
data = data';
t = data(1,:);
p = data(2:5,:);
whos
4. You never trained your net.
5. Find code examples in the NEWSGROUP or ANSWERS by searching on
Hope this helps.
Thank you for formally accepting my answer
Greg
Greg
Best Answer