how to convert a noise signal into its hexadecimal format
조회 수: 3 (최근 30일)
이전 댓글 표시
my work involves a noisy signal (from matlab) given to a fpga module. The noise signals have to be converted to hex format and stored in the BRAM of the fpga for processing. the BRAM memory has 32 bit length memory. Can you please help me in this work.
댓글 수: 0
답변 (1개)
Thorsten
2017년 4월 4일
Help
samplevalues = randi(1023, 1, 10); % 10 random values between 0 and 1023
dec2hex(samplevalues, 8)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Prepare Model Inputs and Outputs에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!