フィルターのクリア

How to plot n bit series of numbers. (n = 16 for example)

2 ビュー (過去 30 日間)
C. Nwachoma
C. Nwachoma 2018 年 12 月 28 日
回答済み: Bharath Venkataraman 2018 年 12 月 28 日
Hi
Please, I want to know if it is possible to 'plot' say 16 bits series of numbers similar to the output of an FPGA.
I have attached a plot (FPGA output) as an example.
Thanks
  1 件のコメント
Jan
Jan 2018 年 12 月 28 日
The question is not clear. What exactly are your inputs? What is a "16 bits series of numbers"? Which part of the posted image do you want to reproduce? What have you tried so far and what is the problem?

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

回答 (1 件)

Bharath Venkataraman
Bharath Venkataraman 2018 年 12 月 28 日
You can have a similar display using the dsp.LogicAnalyzer object. Here is the sample code I used:
data = fi(rand(100,1),1,16,10);
laDisplay = dsp.LogicAnalyzer(1);
laDisplay(data)
I changed the label from input1 to data and changed data to be analog display.
laDisplay_bits.JPG

カテゴリ

Help Center および File ExchangeLine Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by