char2hex - hex2char

Convert decimal integer string to hexadecimal representation and back
ダウンロード: 231
更新 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 Center および MATLAB AnswersNumeric 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 リポジトリにアクセスしてください。