Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Please help me with rectpulse problem with its frequency

  1. May 27, 2010 #1
    Hi there, I have been simulating a system in matlab.

    So Im not good with communication basics and im very new to it.

    Here is the problem.

    Im using rectpulse function from matlab, the it needs a sampling rate to generate rectpulse from random bits.

    So the sampling rate is calculated using,

    [tex]n=sampling frequency/bit rate,[/tex]
    [tex]n=sampling frequency*period[/tex]

    say period is Tb, bit rate is Rb, sampling frequency is fs.


    So my problem is, i dont know the unit of n, as i understand n is the sampling rate, its not the sampling time, what it is actually, im really lost, i tried a lot of resources, i still dont understand.

    How can i find out the maximum frequency. And say i want to generate different maximum frequency for this rectpulse, i should know the frequency first which i dont know now, i dont know how to change it, Please someone help me.

    Thank you. Its urgent.
  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted