×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Matlab BOC (binary offset carrier)

Matlab BOC (binary offset carrier)

Matlab BOC (binary offset carrier)

(OP)
Dear all,
I don’t know if I am asking in the correct place though, but please get into trouble to have a look at what I am asking.
I am trying to implement a direct sequence spread spectrum scheme on MATLAB called binary offset carrier (BOC).In that scheme a code c(t) (a binary vector which repeats after a certain number of zeros and ones ) should be calculated by an other square (sub) carrier of the following form sign(sin(1*pi*fs*t) where fs is the subcarrier frequency and finally should be calculated by a carrier frequency having the usual form of a cosine.
I have generated the code needed (a vector of 1023 elements).These 1023 chips (vector’s elements) should be repeated every 1 ms in order for the chipping frequency to be achieved (10Mchips/s).After,that vector (code) should be multiplied by a square subcarrier of 1023 Mhz and finally by the ‘actual’carrier (a co sinusoidal signal) of 4092 Mhz.
All these should be demonstrated via plots.
My first problem is that in the first place in order to demonstrate the spectrum of the codes,spectrul nulls should be represented at frequencies multiples of 1.023 Mhz.The only way that I could somehow think how to do this is to use massive vectors where are not really supported by my laptops memory (RAM).
I say somehow because the sampling rate should change (for example wherever I have one ‘1’ I should add some more and the same applies to zeros).This procedure ruins the whole purpose of the code because the code has some particular autocorrelation properties which I don’t know if will continue to exist after.
Moreover,if that should reach the 10Mchips how will this could be done by using the particular vector.While I understand that it is easily done by using a random vector of 10*10^6 elements.Should I repeat the 1023 chips 1000 times?
I am really stacked and I understand that my questions may sound dummy.Thank you in advance for your reply.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources