how to convert a noise signal into its hexadecimal format

4 views (last 30 days)
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.

Answers (1)

Thorsten
Thorsten on 4 Apr 2017
Help
samplevalues = randi(1023, 1, 10); % 10 random values between 0 and 1023
dec2hex(samplevalues, 8)

Community Treasure Hunt

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

Start Hunting!