From: Adam Lowery Lowery on
Hi,

Apologies in advance if my question is a bit convoluted and long winded but this is my first post and I wouldn't profess to be a Matlab expert . . .

I'm currently working on a ZigBee simulation of the physical layer for a university project.

Please no replies saying "do your own work" because as you'll see I have done my own work! . . .

I've produced a simulation that is a good approximation i.e. symbol-to-chip mapping and modulation etc. up to BER at the receiver end) but am confused regarding the pulse shaping I have read about in certain literature.

As I understand it, both the in-phase and quadrature pulses feeding the O-QPSK modulated signal should be half-sine pulse shaped.

I would like to implement this pulse shaping to my code and intend on applying it after the modulation code as per the guidance on rectpulse and filtering a modulated signal using a raised cosine filter.

However, I am unable to find a function that performs the actual half-sine filter.

Could anybody point me to some example code or give me any pointers on attacking the addition of half-sine filtering?

One idea I had was to examine the .m file used for the raised cosine and attempt to bastardise it and create my own function - would this be simple enough or going too far? For example the raised cosine requires you to specify desired roll-offs etc?!
From: Adam Lowery Lowery on
Thanks in advance also!

Regards,
Adam