Sign in

username or email:

password:



Not a member?
Forgot your password?

Search compdsp



Search tips


Discussion Groups

Free Online Books

See Also

Embedded SystemsFPGA

Discussion Groups | Comp.DSP | .m file for S-Random Interleaver design

There are 2 messages in this thread.

You are currently looking at messages 1 to .


Is this discussion worth a thumbs up?

0

.m file for S-Random Interleaver design - Farzad.talebi - 2006-10-11 08:31:00

Hi

I need an efficient .m file for designing S-Random Interleavers.
I wrote one, but it did not converge for L24 & S.

Thanks


______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: .m file for S-Random Interleaver design - Kurosaki2010 - 2012-08-29 16:08:00



>Hi
>
>I need an efficient .m file for designing S-Random Interleavers.
>I wrote one, but it did not converge for L24 & S.
>
>Thanks
>
>
>

I know this post has been ages. But in case anyone out there is still
searching, hope this piece of code would help:

x = 1:10 % Original data
nrows = 3; slope = 2; % Interleaver parameters
D = nrows*(nrows-1)*slope; % Delay of interleaver/deinterleaver pair
x_padded = [x, zeros(1,D)]; % Pad x at the end before interleaving.
x_intrlv=convintrlv(x_padded,nrows,slope);
xintrlv=x_intrlv(x_intrlv~=0)

I was looking for an s-random interleaver myself and found little help on
coding. But managed to solve to fit my needs with this small piece of code.
Hope this could help!


______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.