|27 Oct 2014||Kautz sequence generator Generates example Kautz sequences of specified number of characters and subsequence lengths.||W. Owen Brimijoin||
This example you are showing here seems to me to be a legitimate 3^3 Kautz sequence. Could you explain why you've identified these particular substrings as incorrect?
The condition of the Kautz sequence is not that there be no repeated characters in a substring (in your case, each set of 3), rather that the sequence simply not contain any *consecutive* repeats of the same character.
|25 Oct 2014||Kautz sequence generator Generates example Kautz sequences of specified number of characters and subsequence lengths.||Memoly Memoly||
For the example sequence generated like : 3 1 3 2 1 2 1 3 1 2 3 2
But is that correct?
|17 Sep 2014||de Bruijn sequence generator Generates example de Bruijn sequences of specified number of characters and subsequence lengths.||W. Owen Brimijoin||
In its current form, no, there is no way to force it to generate all possible 4^2 sequences short of exhaustively running the function in a while loop and checking for unique results until all 16 are generated (not particularly efficient, to put it mildly).
|17 Sep 2014||de Bruijn sequence generator Generates example de Bruijn sequences of specified number of characters and subsequence lengths.||vinod||
Using this code am i able to generate all debruijn sequences?........for example for n=4 and k=2,there are 16 debruijn sequences.
|09 Jul 2014||Round to Vector Rounds the supplied N-D matrix to the values in a supplied vector.||Chang hsiung|
|28 Jun 2013||Oscillator and Signal Generator A simple command-line function for generating standard waveforms, click trains and noise bursts.||W. Owen Brimijoin||
Oops.. my mistake, "chirp.m" is only included in the Signal Processing toolbox! I have updated the function to include simple linear and logarithmic sweep options. For these you need to provide a [start stop] vector of frequencies.
To the list of signal options, I have also added brown noise (1/f^2) and grey noise. Mind you, it's a generic grey (ISO Equal-Loudness at 60 phons), since *true* grey noise must be custom defined to match each listener's psychoacoustic loudness contour.
The updated version has been submitted and should pop up soon.
|24 Jun 2013||Oscillator and Signal Generator A simple command-line function for generating standard waveforms, click trains and noise bursts.||W. Owen Brimijoin||
I am so glad you find this submission helpful, Deborah. Excellent suggestions, I will certainly add more noise forms as soon as I can compute the best filter coefficients I can. Watch this space for grey noise and brown noise, among others.
I am, however, hesitant to add support for frequency sweeps because I think it would complicate the currently simple input argument structure. What's more, there is the built-in Matlab 'chirp.m' function that does a bang-up job of making fm signals!
|06 Jun 2013||Oscillator and Signal Generator A simple command-line function for generating standard waveforms, click trains and noise bursts.||Deborah||
I really like this submission, saved me an awful lot of trouble!
|29 May 2013||de Bruijn sequence generator Generates example de Bruijn sequences of specified number of characters and subsequence lengths.||W. Owen Brimijoin||
@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.
|24 May 2013||Mahdiyar||
I run the code attached at this page but it gives me the following error
>> sequence = debruijn_generator(3,2)'
|19 Aug 2011||W. Owen Brimijoin||
It’s a bit of a needle-in-the-haystack problem. While it’s true there are many valid (k,n) de Bruijn sequences (this many: factorial(k)^(k*(n-1))/k*n), there are k^(k^n) possible ways to combine k characters in a sequence of equal length!
This m-file keeps a *simple* history of dead-ends in its attempt to find a valid sequence, the simplicity of it being an advantage in avoiding out-of-memory problems, but I do not doubt there are better ways to do it. Suggestions are most definitely appreciated!
|16 Aug 2011||Alex||
000 0 Do
0000 0 Do
000000 0 Do
|29 Jul 2011||fan||
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.
|29 Jun 2011||W. Owen Brimijoin||
In principle you could reseed Matlab's random number generator to the same value each time:
These ought to be the same. On the other hand, there is no reason you could not simply save a given sequence and load it whenever you need it.
|01 May 2011||fan||
Thank you for author's kind sharing. But how to obtain the same DB sequence each time?