I would like to understand the mean of sampling frequency and symbol rate in commsrc.patern command.
조회 수: 18 (최근 30일)
이전 댓글 표시
Dear Sir or Madam,
I have a question about commsrc.patern command.
I can't understand the maen of sampling frequency and symbolrate in commsrc.pattern command. Are there concept of sampling frequency and symbolrate in waveform generator?
So, please tell me the mean of this.
Sincerely,
댓글 수: 0
답변 (1개)
David Ding
2017년 10월 18일
Hi Shunsuke,
I understand that you are looking to understand the meaning of "SamplingFrequency" and "SymbolRate" properties of the "commsrc.pattern" system object.
This system object holds information about a waveform specified by its properties, such that when you call the function "generate", such as:
x = generate(h, N);
Where "h" is the "commsrc.pattern" object and N is the number of symbols in the output, the waveform gets generated and stored into the variable "x" (where you can then plot "x", for example).
The object "h" can be defined for example as follows:
h = commsrc.pattern('SamplingFrequency', 10000, ...
'SamplesPerSymbol', 100, ...
'PulseType', 'NRZ', ...
'OutputLevels', [-1 1], ...
'RiseTime', 0, ...
'FallTime', 0, ...
'DataPattern', 'PRBS7', ...
'Jitter', commsrc.combinedjitter)
Now onto the properties "SamplingFrequency" and "Symbol Rate":
Consider the waveform vector "x": each data point of x is considered as a "sample". Thus, the sampling frequency determines how many of those points are generated each second. The "SamplesPerSymbol" property determines how many of those points, grouped together, is considered as a "symbol". Therefore, the "SymbolRate" property, which is read-only, determines the number of symbols in the pattern waveform generated each second. The relationship is as follows:
SymbolRate = SamplingFrequency / SamplesPerSymbol
For example, if I sample a signal at 100Hz (that is, for each second I create 100 points in the waveform vector "x"), and I consider 50 samples as a symbol, then my symbol rate is:
100 / 50 = 2 Symbols per second
Correspondingly, my symbol period, T_sim, is 1/SymbolRate = 0.5 seconds.
Full documentation of the "commsrc.pattern" system object is found below:
Thanks,
David
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Periodic Waveform Generation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!