how to convert a noise signal into its hexadecimal format

3 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)

Categories

Find more on Prepare Model Inputs and Outputs in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!