From: david on 16 Mar 2010 07:23 Hello all, I tried the example that exists in matlab documentation but i have got an error : ??? Error using ==> newfftd Input ranges is not a two column matrix. I use the matlab version 7 . could any one help me finding the error ? the code is : P = {1 0 0 1 1 0 1 0 0 0 0 1 1 0 0 1}; T = {1 -1 0 1 0 -1 1 -1 0 0 0 1 0 -1 0 1}; net = newfftd(P,T,[0 1],5); Y = sim(net,P) net.trainParam.epochs = 50; net = train(net,P,T); Y = sim(net,P) best regards David
From: us on 16 Mar 2010 08:59 "david " <david.sabine760(a)gmail.com> wrote in message <hnnpmm$t01$1(a)fred.mathworks.com>... > Hello all, > I tried the example that exists in matlab documentation but i have got an error : > ??? Error using ==> newfftd > Input ranges is not a two column matrix. > I use the matlab version 7 . > could any one help me finding the error ? > the code is : > P = {1 0 0 1 1 0 1 0 0 0 0 1 1 0 0 1}; > T = {1 -1 0 1 0 -1 1 -1 0 0 0 1 0 -1 0 1}; > net = newfftd(P,T,[0 1],5); > Y = sim(net,P) > net.trainParam.epochs = 50; > net = train(net,P,T); > Y = sim(net,P) > best regards > > David a hint: - the input for some functions (including NEWFFTD) has changed between 2007a and 2007b http://www.mathworks.com/access/helpdesk/help/toolbox/nnet/rn/rn12.html#60374 us
From: david on 16 Mar 2010 10:18 "us " <us(a)neurol.unizh.ch> wrote in message <hnnvao$3r1$1(a)fred.mathworks.com>... > "david " <david.sabine760(a)gmail.com> wrote in message <hnnpmm$t01$1(a)fred.mathworks.com>... > > Hello all, > > I tried the example that exists in matlab documentation but i have got an error : > > ??? Error using ==> newfftd > > Input ranges is not a two column matrix. > > I use the matlab version 7 . > > could any one help me finding the error ? > > the code is : > > P = {1 0 0 1 1 0 1 0 0 0 0 1 1 0 0 1}; > > T = {1 -1 0 1 0 -1 1 -1 0 0 0 1 0 -1 0 1}; > > net = newfftd(P,T,[0 1],5); > > Y = sim(net,P) > > net.trainParam.epochs = 50; > > net = train(net,P,T); > > Y = sim(net,P) > > best regards > > > > David > > a hint: > - the input for some functions (including NEWFFTD) has changed between 2007a and 2007b > > http://www.mathworks.com/access/helpdesk/help/toolbox/nnet/rn/rn12.html#60374 > > us Thank you Mr for your reply ,i have version 7.1.0.246(R14) service pack 3. I don't know how to solve this problem .
From: Steven Lord on 16 Mar 2010 10:37 "david " <david.sabine760(a)gmail.com> wrote in message news:hno3ut$3d$1(a)fred.mathworks.com... > "us " <us(a)neurol.unizh.ch> wrote in message > <hnnvao$3r1$1(a)fred.mathworks.com>... >> "david " <david.sabine760(a)gmail.com> wrote in message >> <hnnpmm$t01$1(a)fred.mathworks.com>... >> > Hello all, >> > I tried the example that exists in matlab documentation but i have got >> > an error : >> > ??? Error using ==> newfftd >> > Input ranges is not a two column matrix. >> > I use the matlab version 7 . >> > could any one help me finding the error ? >> > the code is : >> > P = {1 0 0 1 1 0 1 0 0 0 0 1 1 0 0 1}; >> > T = {1 -1 0 1 0 -1 1 -1 0 0 0 1 0 -1 0 1}; >> > net = newfftd(P,T,[0 1],5); >> > Y = sim(net,P) >> > net.trainParam.epochs = 50; >> > net = train(net,P,T); >> > Y = sim(net,P) >> > best regards David >> >> a hint: >> - the input for some functions (including NEWFFTD) has changed between >> 2007a and 2007b >> >> http://www.mathworks.com/access/helpdesk/help/toolbox/nnet/rn/rn12.html#60374 >> >> us > > Thank you Mr for your reply ,i have version 7.1.0.246(R14) service pack 3. > I don't know how to solve this problem . > Don't look at the example from the online documentation. The online documentation is for the most recent release (currently R2010a) and may contain functions or functionality not present in earlier releases, or code that may not (due to bug fixes, enhancements, or other changes) run in earlier releases. [While we do take backwards compatibility seriously, sometimes we do need to make changes to fix bugs or provide new and/or easier-to-use functionality.] Open up the documentation for this function that was included in your installation (doc newfftd) and use the example from that documentation. -- Steve Lord slord(a)mathworks.com comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
|
Pages: 1 Prev: Filter Noise signal in Simulink Next: MEX compatibility PCWIN64 |