다운로드 수: 27
업데이트 날짜: 2022/4/1

aToD: Analogue To Digital Conversion

A simple and intuitive graphical user interface to explore and analyse the process of analogue to digital conversion

Start the Graphical User Interface aToD

Call aToD from the command line without any arguments

 aToD
boxPlot3D(xx)

Screenshot1

aToD will create a graphical user interface. Initially, the interface gives you the option to select a type of signal (sine, triangular or square) or to change the frequency. When you select either of these two options, a signal will be drawn.

Screenshot1

You will have now two more options, related with the sampling of the signal. If you select these, the signal will be sampled.

You can change the type of signal or its frequency at any time.

Screenshot1

Screenshot1

When you select to sample the signal, or change the sampling frequency, the signal will be sampled and you will be presented with new options related to quantisation. A proper combination of sampling frequency, and quantisation levels or number of bits is crucial in the analogue to digital conversion process.

Screenshot1

Once you sample and quantise your signal, the signal will be presented in dotted lines with the actual samples in red stars with the quantised samples in black circles. This illustrates the quantisation error that is due to the number of levels. Change the number of bits and compare.

Screenshot1

The digital signal is illustrated with a No-Return-to-zero code (1 as a high level and 0 as a low level), and only some bits are written down under the digital signal.

Screenshot1

Finally, you can convert back from digital to analogue.

Screenshot1

Explore the differences in A/D and D/A conversions with different sampling and quantising values

Screenshot1

Screenshot1

A final experiment is to sample below the critical sampling frequency, also known as Nyquist rate. See what happens with the signal as you convert to digital and back!

Screenshot1

View aToD on File Exchange

인용 양식

Constantino Carlos Reyes-Aldasoro (2024). aToD (https://github.com/reyesaldasoro/aToD), GitHub. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2021a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
태그 태그 추가

Community Treasure Hunt

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

Start Hunting!

GitHub 디폴트 브랜치를 사용하는 버전은 다운로드할 수 없음

버전 게시됨 릴리스 정보
1.0.0

이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.