MATLAB Answers


How to implement fitnet.m in MATLAB R2007?

Asked by farzad on 8 Jul 2018
Latest activity Commented on by Walter Roberson
on 24 Jul 2018
Hi All
Is there a way to introduce the fitnet function in MATLAB R2007, despite it's introduced in R2010 ?


Sign in to comment.

1 Answer

Answer by Greg Heath
on 8 Jul 2018

There may be licensing problems. Otherwise just use NEWFF. It's old but it is pretty good.


Any Ideas?
1. Apparently your first problem was using NEWFF instead of newff.
2. There is absolutely no reason why rng(0) should throw an error. It is just an alternate way to initialize the random number generator
>> rng(0), rand
ans =
>> rng('default'), rand
ans =
Hope this helps,
rng() was added in R2011a, replacing the use of rand or randn with the 'seed', 'state' or 'twister' inputs

Sign in to comment.