MATLAB数据类型结构 MATLAB数据类型

MATLAB数据类型

MATLAB 并不需要任何类型的声明或维度报表。 MATLAB 每当遇到一个新的变量名称,创建变量,并分配适当的内存空间。

如果变量已经存在,则MATLAB替换以新的内容的原始内容,并分配新的存储空间,在必要的情况下。

例如,

Total = 42

上述语句创建了一个名为“Total” 的 1-1 矩阵存储值42。

MATLAB中可用的数据类型

MATLAB 提供15个基本数据类型。每种数据类型的数据存储在矩阵或阵列的形式。这个矩阵的大小或阵列是一个最低 0-0,这可以长大为任何规模大小的矩阵或数组。

下表显示了在 MATLAB 中最常用的数据类型:

数据类型 描述
int8 8-bit signed integer
uint8 8-bit unsigned integer
int16 16-bit signed integer
uint16 16-bit unsigned integer
int32 32-bit signed integer
uint32 32-bit unsigned integer
int64 64-bit signed integer
uint64 64-bit unsigned integer
single single precision numerical data
double double precision numerical data
logical logical values of 1 or 0, represent true and false respectively
char character data (strings are stored as vector of characters)
cell array array of indexed cells, each capable of storing an array of a different dimension and data type
structure C-like structures, each structure having named fields capable of storing an array of a different dimension and data type
function handle yiibaier to a function
user classes objects constructed from a user-defined class
java classes objects constructed from a Java class

例子

创建一个脚本文件,用下面的代码:

str = 'Hello World!'
n = 2345
d = double(n)
un = uint32(789.50)
rn = 5678.92347
c = int32(rn)

上面的代码编译和执行时,它会产生以下结果:

str =
Hello World!
n =
   2345
d =
   2345
un =
   790
rn =
   5.6789e+03
c =
   5679

数据类型转换

MATLAB 提供各种函数,用于从一种数据类型转换到另一种。下表显示的数据类型转换函数:

函数 目的/作用
char Convert to character array (string)
int2str Convert integer data to string
mat2str Convert matrix to string
num2str Convert number to string
str2double Convert string to double-precision value
str2num Convert string to number
native2unicode Convert numeric bytes to Unicode characters
unicode2native Convert Unicode characters to numeric bytes
base2dec Convert base N number string to decimal number
bin2dec Convert binary number string to decimal number
dec2base Convert decimal to base N number in string
dec2bin Convert decimal to binary number in string
dec2hex Convert decimal to hexadecimal number in string
hex2dec Convert hexadecimal number string to decimal number
hex2num Convert hexadecimal number string to double-precision number
num2hex Convert singles and doubles to IEEE hexadecimal strings
cell2mat Convert cell array to numeric array
cell2struct Convert cell array to structure array
cellstr Create cell array of strings from character array
mat2cell Convert array to cell array with potentially different sized cells
num2cell Convert array to cell array with consistently sized cells
struct2cell Convert structure to cell array

测定的数据类型

MATLAB 提供各种函数标识数据类型的变量。

下表提供了确定一个变量的数据类型的函数:

函数 目的/作用
is Detect state
isa Determine if input is object of specified class
iscell Determine whether input is cell array
iscellstr Determine whether input is cell array of strings
ischar Determine whether item is character array
isfield Determine whether input is structure array field
isfloat Determine if input is floating-yiibai array
ishghandle True for Handle Graphics object handles
isinteger Determine if input is integer array
isjava Determine if input is Java object
islogical Determine if input is logical array
isnumeric Determine if input is numeric array
isobject Determine if input is MATLAB object
isreal Check if input is real array
isscalar Determine whether input is scalar
isstr Determine whether input is character array
isstruct Determine whether input is structure array
isvector Determine whether input is vector
class Determine class of object
validateattributes Check validity of array
whos List variables in workspace, with sizes and types

例子

创建一个脚本文件,用下面的代码:


  
  
  1. x = 3
  2. isinteger(x)
  3. isfloat(x)
  4. isvector(x)
  5. isscalar(x)
  6. isnumeric(x)
  7. x = 23.54
  8. isinteger(x)
  9. isfloat(x)
  10. isvector(x)
  11. isscalar(x)
  12. isnumeric(x)
  13. x = [ 1 2 3]
  14. isinteger(x)
  15. isfloat(x)
  16. isvector(x)
  17. isscalar(x)
  18. x = 'Hello'
  19. isinteger(x)
  20. isfloat(x)
  21. isvector(x)
  22. isscalar(x)
  23. isnumeric(x)
  24. 当运行该文件,它会产生以下结果:
  25. x =
  26. 3
  27. ans =
  28. 0
  29. ans =
  30. 1
  31. ans =
  32. 1
  33. ans =
  34. 1
  35. ans =
  36. 1
  37. x =
  38. 23.5400
  39. ans =
  40. 0
  41. ans =
  42. 1
  43. ans =
  44. 1
  45. ans =
  46. 1
  47. ans =
  48. 1
  49. x =
  50. 1 2 3
  51. ans =
  52. 0
  53. ans =
  54. 1
  55. ans =
  56. 1
  57. ans =
  58. 0
  59. x =
  60. Hello
  61. ans =
  62. 0
  63. ans =
  64. 0
  65. ans =
  66. 1
  67. ans =
  68. 0
  69. ans =
  70. 0


        <div class="recommend-box"><div class="recommend-item-box type_blog clearfix" data-report-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/zhangliaobet/article/details/80712019&quot;,&quot;strategy&quot;:&quot;BlogCommendFromMachineLearnPai2&quot;,&quot;index&quot;:&quot;0&quot;}">
<div class="content" style="width: 712px;">
	<a href="https://blog.csdn.net/zhangliaobet/article/details/80712019" target="_blank" rel="noopener" title="Matlab数据类型">
	<h4 class="text-truncate oneline" style="width: 552px;">
			<em>Matlab</em><em>数据类型</em>		</h4>
	<div class="info-box d-flex align-content-center">
		<p class="date-and-readNum oneline">
			<span class="date hover-show">06-16</span>
			<span class="read-num hover-hide">
				阅读数 
				1万+</span>
			</p>
		</div>
	</a>
	<p class="content" style="width: 712px;">
		<a href="https://blog.csdn.net/zhangliaobet/article/details/80712019" target="_blank" rel="noopener" title="Matlab数据类型">
			<span class="desc oneline">MATLAB不需要任何类型声明或维度语句。当MATLAB遇到新的变量名称时,它将创建变量并分配适当的内存空间。如果变量已经存在,则MATLAB将使用新内容替换原始内容,并在必要时分配新的存储空间。例如...</span>
		</a>
		<span class="blog_title_box oneline ">
								<span class="type-show type-show-blog type-show-after">博文</span>
										<a target="_blank" rel="noopener" href="https://blog.csdn.net/zhangliaobet">来自:	<span class="blog_title"> leo_fighting</span></a>
											</span>
	</p>
</div>
</div>
<div class="comment-edit-box d-flex">
	<a id="commentsedit"></a>
	<div class="user-img">
		<a href="//me.csdn.net/weixin_44363881" target="_blank" rel="noopener">
			<img class="" src="https://avatar.csdn.net/5/1/5/3_weixin_44363881.jpg">
		</a>
	</div>
	<form id="commentform">
		<input type="hidden" id="comment_replyId">
		<textarea class="comment-content" name="comment_content" id="comment_content" placeholder="想对作者说点什么"></textarea>
		<div class="opt-box"> <!-- d-flex -->
			<div id="ubbtools" class="add_code">
				<a href="#insertcode" code="code" target="_self"><i class="icon iconfont icon-daima"></i></a>
			</div>
			<input type="hidden" id="comment_replyId" name="comment_replyId">
			<input type="hidden" id="article_id" name="article_id" value="75092575">
			<input type="hidden" id="comment_userId" name="comment_userId" value="">
			<input type="hidden" id="commentId" name="commentId" value="">
			<div style="display: none;" class="csdn-tracking-statistics tracking-click" data-report-click="{&quot;mod&quot;:&quot;popu_384&quot;,&quot;dest&quot;:&quot;&quot;}"><a href="#" target="_blank" class="comment_area_btn" rel="noopener">发表评论</a></div>
			<div class="dropdown" id="myDrap">
				<a class="dropdown-face d-flex align-items-center" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
				<div class="txt-selected text-truncate">添加代码片</div>
				<svg class="icon d-block" aria-hidden="true">
					<use xlink:href="#csdnc-triangledown"></use>
				</svg>
				</a>
				<ul class="dropdown-menu" id="commentCode" aria-labelledby="drop4">
					<li><a data-code="html">HTML/XML</a></li>
					<li><a data-code="objc">objective-c</a></li>
					<li><a data-code="ruby">Ruby</a></li>
					<li><a data-code="php">PHP</a></li>
					<li><a data-code="csharp">C</a></li>
					<li><a data-code="cpp">C++</a></li>
					<li><a data-code="javascript">JavaScript</a></li>
					<li><a data-code="python">Python</a></li>
					<li><a data-code="java">Java</a></li>
					<li><a data-code="css">CSS</a></li>
					<li><a data-code="sql">SQL</a></li>
					<li><a data-code="plain">其它</a></li>
				</ul>
			</div>  
			<div class="right-box">
				<span id="tip_comment" class="tip">还能输入<em>1000</em>个字符</span>
				<input type="button" class="btn btn-sm btn-cancel d-none" value="取消回复">
				<input type="submit" class="btn btn-sm btn-red btn-comment" value="发表评论">
			</div>
		</div>
	</form>
</div>

	<div class="comment-list-container">
	<a id="comments"></a>
	<div class="comment-list-box">
	</div>
	<div id="commentPage" class="pagination-box d-none"></div>
	<div class="opt-box text-center">
		<div class="btn btn-sm btn-link-blue" id="btnMoreComment"></div>
	</div>
</div>

matlab数据类型一(整型、浮点、逻辑、字符)

05-13 阅读数 2万+

matlab数据类型主要有:整型、浮点、逻辑、字符、结构数组、单元变量等。 博文 来自: gtx_tt的博客

<div class="recommend-item-box recommend-recommend-box"><div id="_oa9t4po7jcn" style="width: 100%;"><abbr style="width:0px;height:0px;"></abbr><iframe width="852" frameborder="0" height="60" scrolling="no" src="//rabc2.iteye.com/kigerym?ros=XR&amp;gsn=ZWT&amp;ns=LUV_SXXZ&amp;vde=8KKGJ0U-0Td0Td2CF70y3J4E0yE5K0TdnFJ594FEyyD9E70Td1IK93C50Td45K19CJ0TdYWR_TWYW&amp;zcs=45Z1VW66Y2_431R_VTRSZWRVTYXTZTWY&amp;zkb=S_TROSRUT&amp;kbs=T&amp;zc=XT_VOVVT&amp;zbyd=T&amp;zmc=SWZTOYV_&amp;nks=S&amp;ndw=frkjynmqr&amp;zsc=zSOzS&amp;mom=srdzZ&amp;zcc=SWZTO_RTS&amp;ohzc=SSSRRT,SSRRSS&amp;nm=U&amp;dzb=SWXY_UWVUYZSR&amp;kxd=S&amp;nbs=R&amp;nsc=R&amp;hl7=tgw5p&amp;swt=1"></iframe><abbr style="display:none;visibility:visible;"></abbr></div><script type="text/javascript" src="//rabc1.iteye.com/production/res/rxjg.js?pkcgstj=jm"></script></div>

值对于 Decimal 太大或太小

06-08

代码报错提示值对于 Decimal 太大或太小 但是截出来的sql语句,运行没报错。求解 论坛

MATLAB-数据类型 - 傲娇的晓明 - CSDN博客

6-20

MATLAB基本语法 - 傲娇的晓明 - CSDN博客

10-23

<div class="recommend-item-box recommend-recommend-box"><div id="kp_box_60" data-pid="60"><iframe src="https://adaccount.csdn.net/#/preview/552?m=cAfpivSbbbnHintbpnctEpAALtApmSbUHScLSJtctooAnJnHXQbSAtnHLbtpbtbnvtttiLvnpnDLiiHiSQpESWEnpcJtHDiJAJQQ&amp;k=" frameborder="0" width="100%" height="75px" scrolling="no"></iframe><img class="pre-img-lasy" data-src="https://kunyu.csdn.net/1.png?d=2&amp;k=&amp;m=cAfpivSbbbnHintbpnctEpAALtApmSbUHScLSJtctooAnJnHXQbSAtnHLbtpbtbnvtttiLvnpnDLiiHiSQpESWEnpcJtHDiJAJQQ"></div></div>

MATLAB使用及介绍 - 傲娇的晓明 - CSDN博客

4-22

MATLAB变量 - 傲娇的晓明 - CSDN博客

11-13

		<div class="recommend-item-box blog-expert-recommend-box" style="display: block;">
		<div class="d-flex">
			<div class="blog-expert-recommend">
				<div class="blog-expert">
					<div class="blog-expert-flexbox" data-report-view="{&quot;mod&quot;:&quot;popu_709&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/Poseidon__ming/article/details/75092575&quot;}"><div class="blog-expert-item"><div class="blog-expert-info-box"><div class="blog-expert-img-box" data-report-click="{&quot;mod&quot;:&quot;popu_709&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/Poseidon__ming/article/details/75092575&quot;}"><a href="https://blog.csdn.net/zhangliaobet" target="_blank"><img src="https://avatar.csdn.net/6/E/8/3_zhangliaobet.jpg" alt="leo_fighting" title="leo_fighting"></a><span data-report-click="{&quot;mod&quot;:&quot;popu_710&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/Poseidon__ming/article/details/75092575&quot;}"><span class="blog-expert-button-follow btn-red-follow" data-name="zhangliaobet" data-nick="leo_fighting">关注</span></span></div><div class="info"><span data-report-click="{&quot;mod&quot;:&quot;popu_709&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/Poseidon__ming/article/details/75092575&quot;}"><a href="https://blog.csdn.net/zhangliaobet" target="_blank"><h5 class="oneline" title="leo_fighting">leo_fighting</h5></a></span>  <p></p><p class="article-num" title="76篇文章"> 76篇文章</p><p class="article-num" title="排名:千里之外"> 排名:千里之外</p><p></p></div></div></div><div class="blog-expert-item"><div class="blog-expert-info-box"><div class="blog-expert-img-box" data-report-click="{&quot;mod&quot;:&quot;popu_709&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/Poseidon__ming/article/details/75092575&quot;}"><a href="https://blog.csdn.net/xingjiarong" target="_blank"><img src="https://avatar.csdn.net/0/6/3/3_xingjiarong.jpg" alt="xingjiarong" title="xingjiarong"><svg class="icon" aria-hidden="true"><use xlink:href="#csdnc-blogexpert"></use></svg></a><span data-report-click="{&quot;mod&quot;:&quot;popu_710&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/Poseidon__ming/article/details/75092575&quot;}"><span class="blog-expert-button-follow btn-red-follow" data-name="xingjiarong" data-nick="xingjiarong">关注</span></span></div><div class="info"><span data-report-click="{&quot;mod&quot;:&quot;popu_709&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/Poseidon__ming/article/details/75092575&quot;}"><a href="https://blog.csdn.net/xingjiarong" target="_blank"><h5 class="oneline" title="xingjiarong">xingjiarong</h5></a></span>  <p></p><p class="article-num" title="121篇文章"> 121篇文章</p><p class="article-num" title="排名:4000+"> 排名:4000+</p><p></p></div></div></div><div class="blog-expert-item"><div class="blog-expert-info-box"><div class="blog-expert-img-box" data-report-click="{&quot;mod&quot;:&quot;popu_709&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/Poseidon__ming/article/details/75092575&quot;}"><a href="https://blog.csdn.net/qq_32865355" target="_blank"><img src="https://avatar.csdn.net/3/4/8/3_qq_32865355.jpg" alt="Z_y_forever" title="Z_y_forever"></a><span data-report-click="{&quot;mod&quot;:&quot;popu_710&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/Poseidon__ming/article/details/75092575&quot;}"><span class="blog-expert-button-follow btn-red-follow" data-name="qq_32865355" data-nick="Z_y_forever">关注</span></span></div><div class="info"><span data-report-click="{&quot;mod&quot;:&quot;popu_709&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/Poseidon__ming/article/details/75092575&quot;}"><a href="https://blog.csdn.net/qq_32865355" target="_blank"><h5 class="oneline" title="Z_y_forever">Z_y_forever</h5></a></span>  <p></p><p class="article-num" title="35篇文章"> 35篇文章</p><p class="article-num" title="排名:千里之外"> 排名:千里之外</p><p></p></div></div></div><div class="blog-expert-item"><div class="blog-expert-info-box"><div class="blog-expert-img-box" data-report-click="{&quot;mod&quot;:&quot;popu_709&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/Poseidon__ming/article/details/75092575&quot;}"><a href="https://blog.csdn.net/gtx_tt" target="_blank"><img src="https://avatar.csdn.net/7/A/2/3_gtx_tt.jpg" alt="gtx_tt" title="gtx_tt"></a><span data-report-click="{&quot;mod&quot;:&quot;popu_710&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/Poseidon__ming/article/details/75092575&quot;}"><span class="blog-expert-button-follow btn-red-follow" data-name="gtx_tt" data-nick="gtx_tt">关注</span></span></div><div class="info"><span data-report-click="{&quot;mod&quot;:&quot;popu_709&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/Poseidon__ming/article/details/75092575&quot;}"><a href="https://blog.csdn.net/gtx_tt" target="_blank"><h5 class="oneline" title="gtx_tt">gtx_tt</h5></a></span>  <p></p><p class="article-num" title="51篇文章"> 51篇文章</p><p class="article-num" title="排名:千里之外"> 排名:千里之外</p><p></p></div></div></div></div>
				</div>
			</div>
		</div>
	</div><div class="recommend-item-box baiduSearch recommend-box-ident" data-report-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/Poseidon__ming/article/details/75092513&quot;,&quot;strategy&quot;:&quot;searchFromBaidu1&quot;,&quot;index&quot;:&quot;5&quot;}" data-report-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/Poseidon__ming/article/details/75092513&quot;,&quot;strategy&quot;:&quot;searchFromBaidu1&quot;,&quot;index&quot;:&quot;5&quot;}" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/Poseidon__ming/article/details/75092513&quot;,&quot;strategy&quot;:&quot;searchFromBaidu1&quot;,&quot;index&quot;:4,&quot;extend1&quot;:&quot;_&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/Poseidon__ming/article/details/75092513&quot;,&quot;strategy&quot;:&quot;searchFromBaidu1&quot;,&quot;index&quot;:4,&quot;extend1&quot;:&quot;_&quot;}" data-flg="true">                <a href="https://blog.csdn.net/Poseidon__ming/article/details/75092513" target="_blank">              		<h4 class="text-truncate oneline" style="width: 626px;"><em>MATLAB</em> M-Files - 傲娇的晓明 - CSDN博客</h4>                  <div class="info-box d-flex align-content-center">                    <p>                      <span class="date">11-12</span>                    </p>                  </div>                </a>            	</div><div class="recommend-item-box baiduSearch recommend-box-ident" data-report-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/u011702002/article/details/78474204?utm_source=blogxgwz7&quot;,&quot;strategy&quot;:&quot;searchFromBaidu1&quot;,&quot;index&quot;:&quot;6&quot;}" data-report-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/u011702002/article/details/78474204?utm_source=blogxgwz7&quot;,&quot;strategy&quot;:&quot;searchFromBaidu1&quot;,&quot;index&quot;:&quot;6&quot;}" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/u011702002/article/details/78474204?utm_source=blogxgwz7&quot;,&quot;strategy&quot;:&quot;searchFromBaidu1&quot;,&quot;index&quot;:5,&quot;extend1&quot;:&quot;_&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/u011702002/article/details/78474204?utm_source=blogxgwz7&quot;,&quot;strategy&quot;:&quot;searchFromBaidu1&quot;,&quot;index&quot;:5,&quot;extend1&quot;:&quot;_&quot;}" data-flg="true">                <a href="https://blog.csdn.net/u011702002/article/details/78474204?utm_source=blogxgwz7" target="_blank">              		<h4 class="text-truncate oneline" style="width: 626px;"><em>Matlab</em>常用<em>数据类型</em>(一) - 潜水的飞鱼baby - CSDN博客</h4>                  <div class="info-box d-flex align-content-center">                    <p>                      <span class="date">10-28</span>                    </p>                  </div>                </a>            	</div>

[初学笔记] matlab的基本数据类型 - Yuinfen的博客 - CSDN博客

11-3

POJ-3602 Avoid The Lakes - 傲娇的晓明 - CSDN博客

7-1

<div class="recommend-item-box recommend-recommend-box"><div id="kp_box_61" data-pid="61"><iframe src="https://adaccount.csdn.net/#/preview/261?m=ncQpQHcpDSyHitcnAiQSJEEmEpbSJAtUiAHXcbpHEtEbLDLXnEScJHiJipQJWSbLnbcfQotitiUbntynJttStDoJHncQbiEntbSQ&amp;k=" frameborder="0" width="100%" height="75px" scrolling="no"></iframe><img class="pre-img-lasy" data-src="https://kunyu.csdn.net/1.png?d=2&amp;k=&amp;m=ncQpQHcpDSyHitcnAiQSJEEmEpbSJAtUiAHXcbpHEtEbLDLXnEScJHiJipQJWSbLnbcfQotitiUbntynJttStDoJHncQbiEntbSQ"></div></div><div class="recommend-item-box baiduSearch recommend-box-ident" data-report-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/poseidon__ming/article/details/51959813&quot;,&quot;strategy&quot;:&quot;searchFromBaidu1&quot;,&quot;index&quot;:&quot;10&quot;}" data-report-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/poseidon__ming/article/details/51959813&quot;,&quot;strategy&quot;:&quot;searchFromBaidu1&quot;,&quot;index&quot;:&quot;10&quot;}" data-track-view="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/poseidon__ming/article/details/51959813&quot;,&quot;strategy&quot;:&quot;searchFromBaidu1&quot;,&quot;index&quot;:8,&quot;extend1&quot;:&quot;_&quot;}" data-track-click="{&quot;mod&quot;:&quot;popu_387&quot;,&quot;dest&quot;:&quot;https://blog.csdn.net/poseidon__ming/article/details/51959813&quot;,&quot;strategy&quot;:&quot;searchFromBaidu1&quot;,&quot;index&quot;:8,&quot;extend1&quot;:&quot;_&quot;}" data-flg="true">                <a href="https://blog.csdn.net/poseidon__ming/article/details/51959813" target="_blank">              		<h4 class="text-truncate oneline" style="width: 626px;">稳定排序(sort+结构体) - 傲娇的晓明 - CSDN博客</h4>                  <div class="info-box d-flex align-content-center">                    <p>                      <span class="date">11-12</span>                    </p>                  </div>                </a>            	</div>
<div class="recommend-item-box recommend-recommend-box"><div id="kp_box_62" data-pid="62"><iframe src="https://adaccount.csdn.net/#/preview/263?m=tiELcQntnQASpLiHJbtJAAicbtDyLHcJtLQAmvJHXDStibHDXpUSLptHbLQSiWtSAQEEASftivpiAoSobEQXLJmHbtLcSQtEJAiQ&amp;k=" frameborder="0" width="100%" height="75px" scrolling="no"></iframe><img class="pre-img-lasy" data-src="https://kunyu.csdn.net/1.png?d=2&amp;k=&amp;m=tiELcQntnQASpLiHJbtJAAicbtDyLHcJtLQAmvJHXDStibHDXpUSLptHbLQSiWtSAQEEASftivpiAoSobEQXLJmHbtLcSQtEJAiQ"></div></div>
<div class="recommend-item-box recommend-recommend-box"><div id="kp_box_63" data-pid="63" data-report-view="{&quot;mod&quot;:&quot;kp_popu_63-624&quot;,&quot;keyword&quot;:&quot;&quot;}" data-report-click="{&quot;mod&quot;:&quot;kp_popu_63-624&quot;,&quot;keyword&quot;:&quot;&quot;}"><script type="text/javascript">
    (function() {
        var s = "_" + Math.random().toString(36).slice(2);
        document.write('<div style="" id="' + s + '"></div>');
        (window.slotbydup = window.slotbydup || []).push({
            id: "u4221910",
            container: s
        });
    })();

<div class="recommend-item-box recommend-recommend-box"><div id="_37t6u7ay2ss" style=""><iframe width="852" frameborder="0" height="60" scrolling="no" src="https://rabc2.iteye.com/hiizqlr?ros=XR&amp;gsn=ZWT&amp;ns=LUV_SXXZ&amp;vde=8KKGJ0U-0Td0Td2CF70y3J4E0yE5K0TdnFJ594FEyyD9E70Td1IK93C50Td45K19CJ0TdYWR_TWYW&amp;zcs=45Z1VW66Y2_431R_VTRSZWRVTYXTZTWY&amp;mom=srdzZ&amp;zc=ZXTZOVVT&amp;kbs=T&amp;nbs=S&amp;nsc=R&amp;kxd=S&amp;zcc=SWZTO_RZX&amp;nm=U&amp;zmc=SWZTOYV_&amp;dzb=SWXY_UWVUYZSR&amp;zbyd=T&amp;ohzc=SSSRRT,SSRRSS&amp;zsc=zSOzS&amp;nks=T&amp;ndw=frkjynmqr&amp;zkb=S_TROSRUT&amp;u68=cvz76&amp;z77=0zjam&amp;br2=ipr0q&amp;dj3=6owg&amp;1m4=r1vg&amp;swt=1"></iframe></div><script type="text/javascript" src="//rabc1.iteye.com/production/res/rxjg.js?pkcgstj=jm"></script></div>
<div class="recommend-item-box recommend-recommend-box"><div style="width: 100%;"><em style="width:0px;height:0px;margin-top:0px;"></em><iframe width="852" frameborder="0" height="60" scrolling="no" src="https://rabc2.iteye.com/gjheeo?ros=XR&amp;gsn=ZWT&amp;ns=LUV_SXXZ&amp;vde=8KKGJ0U-0Td0Td2CF70y3J4E0yE5K0TdnFJ594FEyyD9E70Td1IK93C50Td45K19CJ0TdYWR_TWYW&amp;zcs=45Z1VW66Y2_431R_VTRSZWRVTYXTZTWY&amp;zbyd=T&amp;kxd=S&amp;nbs=T&amp;mom=srdzZ&amp;zc=_R_YOVVT&amp;zkb=S_TROSRUT&amp;ohzc=SSSRRT,SSRRSS&amp;ndw=frkjynmqr&amp;nsc=R&amp;zcc=SWZTO_SWS&amp;nks=U&amp;zsc=zSOzS&amp;zmc=SWZTOYV_&amp;kbs=T&amp;dzb=SWXY_UWVUYZSR&amp;nm=U&amp;hv4=jrbno&amp;5l6=1fopf&amp;e86=j7xt&amp;zo1=yd1q&amp;y28=73cgg&amp;swt=1"></iframe></div><script type="text/javascript" src="//rabc1.iteye.com/production/res/rxjg.js?pkcgstj=jm"></script></div>
<div class="recommend-item-box recommend-recommend-box"><div id="kp_box_66" data-pid="66" data-report-view="{&quot;mod&quot;:&quot;kp_popu_66-87&quot;,&quot;keyword&quot;:&quot;&quot;}" data-report-click="{&quot;mod&quot;:&quot;kp_popu_66-87&quot;,&quot;keyword&quot;:&quot;&quot;}"><div id="three_ad38" class="mediav_ad"></div>
<div class="recommend-item-box recommend-recommend-box"><div id="kp_box_67" data-pid="67" data-report-view="{&quot;mod&quot;:&quot;kp_popu_67-658&quot;,&quot;keyword&quot;:&quot;&quot;}" data-report-click="{&quot;mod&quot;:&quot;kp_popu_67-658&quot;,&quot;keyword&quot;:&quot;&quot;}"><script type="text/javascript">
    (function() {
        var s = "_" + Math.random().toString(36).slice(2);
        document.write('<div style="" id="' + s + '"></div>');
        (window.slotbydup = window.slotbydup || []).push({
            id: "u4623113",
            container: s
        });
    })();

<div class="recommend-item-box recommend-recommend-box"><div id="kp_box_68" data-pid="68" data-report-view="{&quot;mod&quot;:&quot;kp_popu_68-625&quot;,&quot;keyword&quot;:&quot;&quot;}" data-report-click="{&quot;mod&quot;:&quot;kp_popu_68-625&quot;,&quot;keyword&quot;:&quot;&quot;}"><script type="text/javascript">
    (function() {
        var s = "_" + Math.random().toString(36).slice(2);
        document.write('<div style="" id="' + s + '"></div>');
        (window.slotbydup = window.slotbydup || []).push({
            id: "u4623747",
            container: s
        });
    })();

            <div class="recommend-item-box type_hot_word">
                            <div class="content clearfix" style="width: 712px;">
                <div class="float-left">
                                    <span>
                    <a href="https://www.csdn.net/gather_16/NtzaMg2sLWRvd25sb2Fk.html" target="_blank">
                    c# 源码 网站监控</a>
                </span>
                                    <span>
                    <a href="https://www.csdn.net/gather_2a/NtzaMg3sLWJsb2cO0O0O.html" target="_blank">
                    python和c#的区别</a>
                </span>
                                    <span>
                    <a href="https://www.csdn.net/gather_12/NtzaMg4sLWRvd25sb2Fk.html" target="_blank">
                    c# 时间比天数</a>
                </span>
                                    <span>
                    <a href="https://www.csdn.net/gather_1d/NtzaMg5sLWRvd25sb2Fk.html" target="_blank">
                    c# oracle查询</a>
                </span>
                                    <span>
                    <a href="https://www.csdn.net/gather_1e/NtzaQgwsLWRvd25sb2Fk.html" target="_blank">
                    c# 主动推送 事件</a>
                </span>
                                    <span>
                    <a href="https://www.csdn.net/gather_12/NtzaQgxsLWRvd25sb2Fk.html" target="_blank">
                    c# java 属性</a>
                </span>
                                    <span>
                    <a href="https://www.csdn.net/gather_1e/NtzaQgysLWRvd25sb2Fk.html" target="_blank">
                    c# 控制台 窗体</a>
                </span>
                                    <span>
                    <a href="https://www.csdn.net/gather_15/NtzaQgzsLWRvd25sb2Fk.html" target="_blank">
                    c# 静态类存值</a>
                </span>
                                    <span>
                    <a href="https://www.csdn.net/gather_10/NtzaQg0sLWRvd25sb2Fk.html" target="_blank">
                    c#矢量作图</a>
                </span>
                                    <span>
                    <a href="https://www.csdn.net/gather_15/NtzaQg1sLWRvd25sb2Fk.html" target="_blank">
                    c#窗体调用外部程式</a>
                </span>
                                    </div>
            </div>
                            </div>
                        <div class="recommend-loading-box">
            <img src="https://csdnimg.cn/release/phoenix/images/feedLoading.gif">
        </div>
        <div class="recommend-end-box" style="display: block;">
            <p class="text-center">没有更多推荐了,<a href="https://blog.csdn.net/" class="c-blue c-blue-hover c-blue-focus">返回首页</a></p>
        </div>
    </div>
</main>

<aside>
<div id="asideProfile" class="aside-box">
<!-- <h3 class="aside-title">个人资料</h3> -->
<div class="profile-intro d-flex">
    <div class="avatar-box d-flex justify-content-center flex-column">
        <a href="https://blog.csdn.net/Poseidon__ming">
          <img src="https://avatar.csdn.net/C/D/E/3_poseidon__ming.jpg" class="avatar_pic">
                          <img src="https://g.csdnimg.cn/static/user-reg-year/2x/3.png" class="user-years">
                      </a>
        
    </div>
    <div class="user-info d-flex flex-column">
        <p class="name csdn-tracking-statistics tracking-click" data-report-click="{&quot;mod&quot;:&quot;popu_379&quot;}">
            <a href="https://blog.csdn.net/Poseidon__ming" class="" id="uid" title="Phil__ming">Phil__ming</a>
        </p>
                                    <p class="personal-home-page" style="right:-96px;"><a target="_blank" href="https://me.csdn.net/Poseidon__ming">TA的个人主页 &gt;</a></p>
                </div>
            <div class="profile-personal-letter">
        <a id="profile-personal-alink" href="https://www.csdn.net/apps/download/?code=app_1564993662&amp;callback=csdnapp%3A%2F%2Fweb%3Furl%3Dhttps%3A%2F%2Fapp.csdn.net%2Fother%3Fusername%3DPoseidon__ming" target="_blank" rel="noopener">私信</a>
    </div>
    <div class="opt-box d-flex  flex-column">
        <span class="csdn-tracking-statistics tracking-click" data-report-click="{&quot;mod&quot;:&quot;popu_379&quot;}">
                                <a class="btn btn-sm btn-red-hollow attention" id="btnAttent" style="line-height:24px;padding:0;">关注</a>
                        </span>
    </div>
        </div>
<div class="data-info d-flex item-tiling">
            <dl class="text-center" title="73">
                    <dt><a href="https://blog.csdn.net/poseidon__ming?t=1">原创</a></dt>
        <dd><a href="https://blog.csdn.net/poseidon__ming?t=1"><span class="count">73</span></a></dd>
                </dl>
    <dl class="text-center" id="fanBox" title="11">
        <dt>粉丝</dt>
        <dd><span class="count" id="fan">11</span></dd>
    </dl>
    <dl class="text-center" title="14">
        <dt>喜欢</dt>
        <dd><span class="count">14</span></dd>
    </dl>
    <dl class="text-center" title="8">
        <dt>评论</dt>
        <dd><span class="count">8</span></dd>
    </dl>
</div>
<div class="grade-box clearfix">
    <dl>
        <dt>等级:</dt>
        <dd>
            <a href="https://blog.csdn.net/home/help.html#level" title="3级,点击查看等级说明" target="_blank">
                <svg class="icon icon-level" aria-hidden="true">
                    <use xlink:href="#csdnc-bloglevel-3"></use>
                </svg>
            </a>
        </dd>
    </dl>
    <dl>
        <dt>访问:</dt>
        <dd title="23781">
            2万+            </dd>
    </dl>
    <dl>
        <dt>积分:</dt>
        <dd title="965">
            965            </dd>
    </dl>
    <dl title="79434">
        <dt>排名:</dt>
        <dd>7万+</dd>
    </dl>
</div>

热门文章

  • 				<a href="https://blog.csdn.net/Poseidon__ming/article/details/51991241">
                                                ZZULIoj-1088: 手机短号 (多实例)                    </a>
    				<p class="read">阅读数 <span>2351</span></p>
    			</li>
    						<li>
    
    				<a href="https://blog.csdn.net/Poseidon__ming/article/details/75092575">
                                                MATLAB数据类型                    </a>
    				<p class="read">阅读数 <span>2292</span></p>
    			</li>
    						<li>
    
    				<a href="https://blog.csdn.net/Poseidon__ming/article/details/75092314">
                                                MATLAB使用及介绍                    </a>
    				<p class="read">阅读数 <span>2042</span></p>
    			</li>
    						<li>
    
    				<a href="https://blog.csdn.net/Poseidon__ming/article/details/51979130">
                                                ZULIOJ-1182: 按出生日期排序(结构体专题)                    </a>
    				<p class="read">阅读数 <span>1589</span></p>
    			</li>
    						<li>
    
    				<a href="https://blog.csdn.net/Poseidon__ming/article/details/51969459">
                                                平分蛋糕                    </a>
    				<p class="read">阅读数 <span>1127</span></p>
    			</li>
    				</ul>
    </div>
    

最新评论

	<div class="aside-box">
		<div id="kp_box_57" data-pid="57" data-report-click="{&quot;mod&quot;:&quot;kp_popu_57-707&quot;,&quot;keyword&quot;:&quot;&quot;}"><script async="" src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>

			<div class="aside-box">
		<div class="persion_article">
		<div class="right_box footer_box csdn-tracking-statistics">        <div class="contact-box" id="footer-contact-box"><div class="img-box"><img src="https://csdnimg.cn/pubfooter/images/csdn-cxrs.png" alt="程序人生" style="padding: 6px;width: 98px;height: 98px;"><p class="app-text">程序人生</p></div><div class="img-box fr"><a href="https://blog.csdn.net/csdnnews?utm_source=csdn_footer" target="_blank"><img style="padding: 6px;width: 98px;height: 98px;" src="//csdnimg.cn/pubfooter/images/csdn-zx.png" alt="CSDN资讯"></a><p class="app-text">CSDN资讯</p></div></div>        <div class="contact-info">        <p><svg width="16" height="16" xmlns="http://www.w3.org/2000/svg"><path d="M2.167 2h11.666C14.478 2 15 2.576 15 3.286v9.428c0 .71-.522 1.286-1.167 1.286H2.167C1.522 14 1 13.424 1 12.714V3.286C1 2.576 1.522 2 2.167 2zm-.164 3v1L8 10l6-4V5L8 9 2.003 5z" fill="#5c5c5c" fill-rule="evenodd"></path></svg><a href="mailto:[email protected]" target="_blank"><span class="txt">[email protected]</span></a>        <em class="width126"><svg t="1538013544186" width="17" height="17" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="23556" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><style type="text/css"></style></defs><path d="M902.60033922 650.96445566c-18.0718526-100.84369837-94.08399771-166.87723736-94.08399771-166.87723737 10.87530062-91.53186599-28.94715402-107.78733693-28.94715401-107.78733691C771.20003413 93.08221664 517.34798062 98.02553561 511.98620441 98.16348824 506.65661791 98.02553561 252.75857992 93.08221664 244.43541101 376.29988138c0 0-39.79946279 16.25547094-28.947154 107.78733691 0 0-75.98915247 66.03353901-94.0839977 166.87723737 0 0-9.63372291 170.35365477 86.84146124 20.85850523 0 0 21.70461757 56.79068296 61.50407954 107.78733692 0 0-71.1607951 23.19910867-65.11385185 83.46161052 0 0-2.43717093 67.16015592 151.93232126 62.56172014 0 0 108.5460788-8.0932473 141.10300432-52.14626271H526.33792324c32.57991817 44.05301539 141.10300431 52.1462627 141.10300431 52.14626271 154.3235077 4.59843579 151.95071457-62.56172013 151.95071457-62.56172014 6.00095876-60.26250183-65.11385185-83.46161053-65.11385185-83.46161052 39.77647014-50.99665395 61.4810877-107.78733693 61.4810877-107.78733692 96.45219231 149.49514952 86.84146124-20.85850523 86.84146125-20.85850523" p-id="23557" fill="#5c5c5c"></path></svg><a href="http://wpa.b.qq.com/cgi/wpa.php?ln=1&amp;key=XzgwMDE4MDEwNl80ODc3MzVfODAwMTgwMTA2XzJf" class="qqcustomer_s" target="_blank"><span class="txt">QQ客服</span></a></em></p>        <p><em class="width126"><svg t="1538012951761" width="17" height="17" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="23083" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><style type="text/css"></style></defs><path d="M466.4934485 880.02006511C264.6019863 859.18313878 107.13744214 688.54706608 107.13744214 481.14947309 107.13744214 259.68965394 286.68049114 80.14660493 508.14031029 80.14660493s401.00286817 179.54304901 401.00286814 401.00286816v1.67343191C908.30646249 737.58941724 715.26799489 943.85339507 477.28978337 943.85339507c-31.71423369 0-62.61874229-3.67075386-92.38963569-10.60739903 30.09478346-11.01226158 56.84270313-29.63593923 81.5933008-53.22593095z m-205.13036267-398.87059202a246.77722444 246.77722444 0 0 0 493.5544489 0 30.85052691 30.85052691 0 0 0-61.70105383 0 185.07617062 185.07617062 0 0 1-370.15234125 0 30.85052691 30.85052691 0 0 0-61.70105382 0z" p-id="23084" fill="#5c5c5c"></path></svg><a href="http://bbs.csdn.net/forums/Service" target="_blank"><span class="txt">客服论坛</span></a></em>        <svg t="1538013874294" width="17" height="17" style="" viewBox="0 0 1194 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="23784" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><style type="text/css"></style></defs><path d="M1031.29689505 943.85339507h-863.70679012A71.98456279 71.98456279 0 0 1 95.60554212 871.86883228v-150.85178906c0-28.58329658 16.92325492-54.46750945 43.13135785-65.93861527l227.99160176-99.75813425c10.55341735-4.61543317 18.24580594-14.0082445 20.72896295-25.23643277l23.21211998-105.53417343a71.95757195 71.95757195 0 0 1 70.28414006-56.51881307h236.95255971c33.79252817 0 63.02360485 23.5090192 70.28414004 56.51881307l23.21211997 105.53417343c2.48315701 11.25517912 10.17554562 20.62099961 20.72896296 25.23643277l227.99160177 99.75813425a71.98456279 71.98456279 0 0 1 43.13135783 65.93861527v150.85178906A71.98456279 71.98456279 0 0 1 1031.26990421 943.85339507z m-431.85339506-143.94213475c143.94213474 0 143.94213474-48.34058941 143.94213474-107.96334876s-64.45411922-107.96334877-143.94213474-107.96334877c-79.51500637 0-143.94213474 48.34058941-143.94213475 107.96334877s0 107.96334877 143.94213475 107.96334876zM1103.254467 296.07330247v148.9894213a35.97878598 35.97878598 0 0 1-44.15700966 35.03410667l-143.94213473-33.57660146a36.0057768 36.0057768 0 0 1-27.80056231-35.03410668V296.1002933c-35.97878598-47.98970852-131.95820302-71.98456279-287.91126031-71.98456279S347.53801649 248.11058478 311.53223967 296.1002933v115.385829c0 16.73431906-11.52508749 31.25538946-27.80056233 35.03410668l-143.94213473 33.57660146A35.97878598 35.97878598 0 0 1 95.63253297 445.06272377V296.07330247C162.81272673 152.13116772 330.77670658 80.14660493 599.47049084 80.14660493s436.63077325 71.98456279 503.81096699 215.92669754z" p-id="23785" fill="#5c5c5c"></path></svg>400-660-0108 </p>        <p style="text-align:center">工作时间 8:30-22:00</p>        </div>        <div class="bg-gray">            <div class="feed_copyright">            <p><a class="right-dotte" href="//www.csdn.net/company/index.html#about" target="_blank">关于我们</a><a href="//www.csdn.net/company/index.html#recruit" target="_blank" class="right-dotte">招聘</a><a href="//www.csdn.net/company/index.html#contact" target="_blank" class="right-dotte">广告服务</a>            <a href="https://www.csdn.net/gather/A" target="_blank" class="footer_baidu">            网站地图</a></p>            <p class="fz12_baidu"><a href="https://zn.baidu.com/cse/home/index" target="_blank"><svg width="13" height="14" xmlns="http://www.w3.org/2000/svg"><path d="M8.392 7.013c1.014 1.454 2.753 2.8 2.753 2.8s1.303 1.017.47 2.98c-.833 1.962-3.876.942-3.876.942s-1.122-.36-2.424-.072c-1.303.291-2.426.181-2.426.181s-1.523.037-1.957-1.888c-.434-1.927 1.52-2.982 1.666-3.161.145-.183 1.159-.873 1.81-1.963.653-1.09 2.608-1.962 3.984.181zm1.23 5.706V9.346H8.64v2.534h-.937s-.3-.044-.356-.285V9.33l-.925.015v2.518s.042.627.925.855h2.277zm-3.685.013V7.951l-.896-.014v1.295H3.987s-1.054.086-1.422 1.28c-.129.798.114 1.266.156 1.368.043.099.383.682 1.238.852h1.978zm-2.433-1.45c-.087-.286.013-.613.057-.741.042-.128.228-.427.61-.54h.855v1.948h-.797s-.555-.029-.725-.668zm6.877-8.775c-.143.909-.865 2.108-1.99 1.962-1.121-.144-1.375-1.16-1.267-2.179C7.214 1.458 8.21.18 9.007.364c.796.18 1.52 1.235 1.374 2.143zm-4.09-.345c0 1.197-.68 2.164-1.52 2.164S3.25 3.36 3.25 2.162C3.25.967 3.932 0 4.77 0c.842 0 1.52.967 1.52 2.162zm4.854 2.09c1.34 0 1.701 1.309 1.701 1.743 0 .438.182 2.29-1.485 2.326-1.667.037-1.737-1.126-1.737-1.96 0-.874.179-2.11 1.52-2.11zm-7.93.581c.045.398.253 2.217-1.27 2.544C.427 7.704-.14 5.947.028 5.124c0 0 .18-1.78 1.412-1.89.98-.085 1.7.986 1.774 1.6z" fill="#999" fill-rule="evenodd"></path></svg><em>百度提供站内搜索</em></a>&nbsp;<a href="http://www.miibeian.gov.cn/publish/query/indexFirst.action" target="_blank" class="ml14">京ICP备19004658号</a></p>            <p class="fz12_baidu">©1999-2019 北京创新乐知网络技术有限公司 </p>            </div>        </div>        <div class="allow-info-box">        <p><a href="https://csdnimg.cn/cdn/content-toolbar/csdn-ICP.png" target="_blank">经营性网站备案信息</a>        <em class="width126"><a href="http://www.cyberpolice.cn/" target="_blank"><span>网络110报警服务</span></a></em></p>        <p><a href="http://www.bjjubao.org/" target="_blank"><span>北京互联网违法和不良信息举报中心</span></a></p>        <p><a href="http://www.12377.cn/" target="_blank"><span>中国互联网举报中心</span></a><a href="https://download.csdn.net/index.php/tutelage/" target="_blank"><span style="margin-left:8px">家长监护</span></a><a href="https://blog.csdn.net/blogdevteam/article/details/90369522" target="_blank"><span style="margin-left:8px">版权申诉</span></a></p>        </div>        </div></div>
	</div>
</div>
版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接: https://blog.csdn.net/Poseidon__ming/article/details/75092575

猜你喜欢

转载自blog.csdn.net/weixin_44363881/article/details/100633016