码迷,mamicode.com
首页 > 其他好文 > 详细

Matlab中cell2mat的使用

时间:2015-07-17 18:40:21      阅读:631      评论:0      收藏:0      [点我收藏+]

标签:

  binIndices是1*50的cell,每个cell是的1*n(n不定),那么cell2mat(binIndices)得到的是1*sum(cellfun(@length,binIndices))的行向量,比如{1 2 3} {4 5 6}2个cell,得到的是[1 2 3 4 5 6]的行向量。

Matlab中cell2mat的使用

标签:

原文地址:http://www.cnblogs.com/hxsyl/p/4655104.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!