Is there a missing command in the Character Recognition example "Appcr1" within Chapter 11 of the Neural Network Toolbox manual?

3 Ansichten (letzte 30 Tage)
If I try to execute the code in the "Initialization" section of the "Appcr1" example in Chapter 11 of the Neural Network Toolbox, I receive the following error message:
??? Undefined function or variable 'alphabet'.
Is this the result of a missing function call in the example?

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 27 Jun. 2009
This enhancement has been incorporated in Release 2008b (R2008b). For previous product releases, read below for any possible workarounds:
This is an error in the documentation for the "Appcr1" example in Chapter 11 of the Neural Network Toolbox manual. The block of code in the "Initialization" section of the example should read:
[alphabet,targets] = prprob;
S1 = 10;
[R,Q] = size(alphabet);
[S2,Q] = size(targets);
P = alphabet;
net = newff(minmax(P),[S1 S2],{'logsig' 'logsig'},'traingdx');
This function call will define the alphabet and target variables used by the remainder of the example.

Weitere Antworten (0)

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by