I have another question.Since this function generates the requierd DB sequence through searching all the possible symbol combinations according to the character, arbitrary DB sequence can be obtained without regard to the limitaion of time and memory in principle. However, the generation of the sequence with large period is rather timing consuming. The command 'debruijn_generator(4,8)' gived no result after running for 8 hours. Any sugestions for this problem? Thank you very much.
@Mahdiyar - from the error you are getting, I'd guess that you haven't put the m-file in a directory that Matlab knows anything about. Either use addpath or place the file in your current directory and it should work just fine.
I run the code attached at this page but it gives me the following error
>> sequence = debruijn_generator(3,2)'
Undefined function 'debruijn_generator' for input arguments of type
Please let me know what should I do.
??? Error using ==> construct_error at 109
DOS commands may not be executed when the current
directory is a UNC pathname
Please change the current directory to a local directory
or use a network drive mapped to the current directory.
Warning: Unable to load block diagram 'powerlib'
> In plldemo at 181
??? Error using ==> plldemo at 181
Failed to load library 'powerlib' referenced by
'powerpll/Charge Pump Loop Filter/+10V'.
Error using ==> plldemo at 181
Unable to open file for reading: "powerlib.mdl".