我怎么让matlab显示ascii字符

如题所述

第1个回答  2017-07-10
1
2
3
4
5
6
7
8
9

DEC2BIN Convert decimal integer to a binary string.
DEC2BIN(D) returns the binary representation of D as a string.
D must be a non-negative integer smaller than 2^52.

DEC2BIN(D,N) produces a binary representation with at least
N bits.

Example
dec2bin(23) returns '10111'

对字符'a',调用如下:

1

dec2bin('a', 8)本回答被提问者采纳

相关了解……

你可能感兴趣的内容

本站内容来自于网友发表,不代表本站立场,仅表示其个人看法,不对其真实性、正确性、有效性作任何的担保
相关事宜请发邮件给我们
© 非常风气网