char2hex - hex2char

版本 1.2.0.0 (4.2 KB) 作者: Andrew Horchler
Convert decimal integer string to hexadecimal representation and back
234.0 次下载
更新时间 2017/4/11

Convert decimal integer string to hexadecimal representation and back.
char2hex(S) returns a 2-D string array where each row is the hexadecimal representation of each decimal integer string in the rows of S. S must be a character array containing only decimal digits or leading spaces. Unlike Matlab's dec2hex, this function can return exact representations for integers greater than 2^52.

hex2char(H) returns a 2-D string array where each row is the decimal representation of each hexadecimal integer string in the rows of H. H must be a character array containing only hexadecimal digits. Unlike Matlab's hex2dec, this function can return exact representations for integers greater then 2^52.

引用格式

Andrew Horchler (2024). char2hex - hex2char (https://github.com/horchler/char2hex-hex2char), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2016a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Numeric Types 的更多信息

Community Treasure Hunt

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

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.2.0.0

Added image, fixed bug for vector inputs

1.1.0.0

Improved description

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库