楼主: weijian1215
10643 2

Matlab中char与strings有什么区别 [推广有奖]

  • 3关注
  • 1粉丝

已卖:805份资源

讲师

64%

还不是VIP/贵宾

-

威望
0
论坛币
3204 个
通用积分
66.2249
学术水平
6 点
热心指数
7 点
信用等级
6 点
经验
9074 点
帖子
426
精华
0
在线时间
423 小时
注册时间
2009-6-21
最后登录
2025-2-15

楼主
weijian1215 发表于 2010-11-26 21:47:45 |AI写论文
5论坛币
如题!
请教大家。。。。。。。。。。。

关键词:strings MATLAB string atlab rings MATLAB char strings

沙发
weijian1215 发表于 2010-11-27 17:08:08
来看看。。。。。。

藤椅
matlab-007 发表于 2014-12-13 19:55:48
CHAR Create character array (string).
    S = CHAR(X) converts the array X that contains nonnegative integers
    representing character codes into a MATLAB character array (the first
    127 codes are ASCII). The actual characters displayed depends on the
    character encoding scheme for a given font.  The result for any
    elements of X outside the range from 0 to 65535 is not defined (and
    may vary from platform to platform).  Use DOUBLE to convert a
    character array into its numeric codes.

STRINGS Character strings in MATLAB.
    S = 'Any Characters' creates a character array, or string. The
    string is actually a vector whose components are the numeric codes
    for the characters (the first 127 codes are ASCII). The actual
    characters displayed depends on the character set encoding for a
    given font. The length of S is the number of characters. A quote
    within the string is indicated by two quotes.

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-5 16:47