¤@¯ë¯x°}ªº¤º³¡¸ê®Æ«¬ºA³£¬O¹w³]¦¨ double¡]Âùºë·Ç¯BÂI¼Æ¡^¡A¦ý¦b MATLAB 5.3 ª©¤§«á¡A¤]¤ä´©¤£¦Pªø«×ªº¾ã¼Æ»P¯BÂI¼Æ¸ê®ÆºA¡A¾ã²z¦p¤Uªí¡G
«ü¥O »¡©ú uint8 Âà´«¦¨¤£±a¥¿t¸¹¡B 8 ¦ì¤¸ªº¾ã¼Æ¡A¨äȰ쬰 $[0, 2^{8}-1]=[0,255]$ uint16 Âà´«¦¨¤£±a¥¿t¸¹¡B16 ¦ì¤¸ªº¾ã¼Æ¡A¨äȰ쬰 $[0, 2^{16}-1]=[0,65535]$ uint32 Âà´«¦¨¤£±a¥¿t¸¹¡B32 ¦ì¤¸ªº¾ã¼Æ¡A¨äȰ쬰 $[0, 2^{32}-1]$ int8 Âà´«¦¨±a¥¿t¸¹¡B 8 ¦ì¤¸ªº¾ã¼Æ¡A¨äȰ쬰 $[-2^{7}, 2^{7}-1]=[-128,127]$ int16 Âà´«¦¨±a¥¿t¸¹ ¡B 16 ¦ì¤¸ªº¾ã¼Æ¡A¨äȰ쬰 $[-2^{15}, 2^{15}-1]=[-32768,32767]$ int32 Âà´«¦¨±a¥¿t¸¹ ¡B 32 ¦ì¤¸ªº¾ã¼Æ¡A¨äȰ쬰 $[-2^{31}, 2^{31}-1]$ single Âà´«¦¨ single¡]³æºë·Ç¯BÂI¼Æ¡^¡A¦û¥Î 32 ¦ì¤¸¡]4 bytes¡^ double Âà´«¦¨double ¡]Âùºë·Ç¯BÂI¼Æ¡^¡A¦û¥Î 64 ¦ì¤¸¡]8 bytes¡^ char Âà´«¦¨¦r¤¸©Î¦r¦ê¡A¨CÓ¦r¤¸¦û¥Î¡]16 ¦ì¤¸¡^¡]2 bytes¡^ ¦]¦¹¡A¦pªG§ÚÌn¸`¬Ù°O¾ÐÅéªÅ¶¡¡A´N¥i¥H¨Ì¯x°}¤¸¯ÀȪº½d³ò¡A¿ï¥Î¤£¦Pªº¸ê®Æ¨ÓÀx¦s¡A¨Ò¦p¡G
¥Ñ¤W¥iª¾¡A¨Ï¥Î uint8 ¨ÓÀx¦sÅܼƩҦûªºªÅ¶¡¥u¦³ double ªº¤K¤À¤§¤@¡C¦ý¬Onª`·Nªº¬O¡G¾ã¼Æ¸ê®Æ«¬ºAªº½d³ò¦³¡AY¶W¹L¦¹½d³ò¡A«h¶W¥X³¡¤À±N·|³Q¡uµô±¼¡v¡A¨Ò¦p¡G
MATLABµ{¦¡³]p¡G¤Jªù½g