フィルターのクリア

Guidance needed to generate Pseudo-Random Binary Sequence (PRBS) and ternary-sequence signals

11 ビュー (過去 30 日間)
I want to generate PRBS and ternary sequence signals but I'm stuck. Can you guide me on how I can implement that? I have attached the sample image.

回答 (1 件)

Sam Chak
Sam Chak 2023 年 10 月 1 日
Please refer to the information and examples in these links:
input = frest.PRBS('Order',12,'NumPeriods',1,'Amplitude',0.05,'Ts',5e-6)
The PRBS input signal: Amplitude : 0.05 Ts : 5e-06 (secs) Order : 12 NumPeriods : 1 OneSamplePerClockPeriod (on/off) : on UseWindow (on/off) : on
plot(input)
xlim([0 0.001]), ylim([-0.05 0.05]), grid on
  3 件のコメント
Sam Chak
Sam Chak 2023 年 10 月 1 日
That's great. I'm not a signal processing expert, but I believe the function pwelch() estimates Welch's power spectral density. You can check out an example in the following link: https://www.mathworks.com/help/signal/ref/pwelch.html
If Welch's power spectral density isn't what you're looking for, I recommend waiting for someone with expertise in signal processing to provide an answer.
MUHAMMAD AJMAL
MUHAMMAD AJMAL 2023 年 10 月 1 日
thank you for your guidance, can you check the attached image

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSpectral Measurements についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by