Opposite task convert string hexadecimal numbers array into array of decimal numbers . - MATLAB Cody - MATLAB Central

Problem 43616. Opposite task convert string hexadecimal numbers array into array of decimal numbers .

Difficulty:Rate

Opposite task convert string hexadecimal numbers array into array of decimal numbers .

Example

x=[ '208'; '209'; '20A'; '20B'; '20C'; '20D'; '20E'; '20F'; '210'; '211'; '212'; '213'; '214'; '215'; '216'; '217'; '218'; '219'; '21A'; '21B'; '21C'];

result=[520; 521; 522; 523; 524; 525; 526; 527; 528; 529; 530; 531; 532; 533; 534; 535; 536; 537; 538; 539; 540]

Solution Stats

91.67% Correct | 8.33% Incorrect
Last Solution submitted on May 05, 2025

Problem Comments

Solution Comments

Show comments
PIVlab surpasses 100K all-time File Exchange downloads
During the past twelve months, PIVlab, a MATLAB Community Toolbox for particle...
4
8

Problem Recent Solvers54

Suggested Problems

More from this Author37

Problem Tags

Community Treasure Hunt

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

Start Hunting!