hex2dec 5x slower than sscanf
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Using hex2dec(str) and reading 4000 5-character hex values from a file takes about 1 sec. Using sscanf(str,'%x') takes about 200 ms. Seems like hex2dec could be improved!
2 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Digital Input and Output finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!