Reply by rajiece_vec March 17, 20052005-03-17


Hello everyone,
I have a problem with the gold sequence generator present in
communication blockset in matlab simulink.I am new to work with
simulink.The given parameters are as follows.

Preferred Polynomial[1] = [1 0 0 0 1 0 0 1]
Initial states [1] = [0 0 0 0 0 1 0]
Preferred Polynomial[2] = [1 1 0 0 0 0 0 1]
Initial states [2] = [1 1 1 1 1 1 1 1]
Sequence index = 0
Shift = 0 [shift is towards right]
Sample time = 1

It is not frame based . I have verified in C language,

The ans should be 11111010100111100110001111.............. with the
total length of 127.

But in the generator block ,I am getting only one o/p in the display.
Even in the scope, the length covered is 10. Can anyone help me in
this. Waiting for the reply.
Thank you,
Rajeswari