由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - matlab取行数
相关主题
c++读写多个大文件的问题请问一个问题1
问个关于R的低级问题Help: How to display data from excel in C# windows form
一个简单的算法问题?a vba question. please help
ask a c questionC memory leak problem help
这个怎么allocate memory?mysql stream output问题求助
R似乎根本就没有认真考虑过global variable的改写问题T[ ][ ] vs T **
如何在C++下, 把一个DataColumn 中的值赋给一个_variant_t变量?how to assign new value to loop variables?
Python小问题randomly generate a text file with R rows and F field in e
相关话题的讨论汇总
话题: nrow话题: ncol话题: matlab
进入Programming版参与讨论
1 (共1页)
G***G
发帖数: 16778
1
how to get the total number of rows in a matrix in MATLAB
for example,
A=[1 2 3;
4 5 6;
7 8 9];
[nrow,ncol]=size(A);
Is there other command which can return only nrow not ncol?
k****f
发帖数: 3794
2
nrow=size(A,1);
ncol=size(A,2);

【在 G***G 的大作中提到】
: how to get the total number of rows in a matrix in MATLAB
: for example,
: A=[1 2 3;
: 4 5 6;
: 7 8 9];
: [nrow,ncol]=size(A);
: Is there other command which can return only nrow not ncol?

1 (共1页)
进入Programming版参与讨论
相关主题
randomly generate a text file with R rows and F field in e这个怎么allocate memory?
mysql index优化求助R似乎根本就没有认真考虑过global variable的改写问题
这个4d matrix,怎么老是运行不了?如何在C++下, 把一个DataColumn 中的值赋给一个_variant_t变量?
帮忙看一段php代码Python小问题
c++读写多个大文件的问题请问一个问题1
问个关于R的低级问题Help: How to display data from excel in C# windows form
一个简单的算法问题?a vba question. please help
ask a c questionC memory leak problem help
相关话题的讨论汇总
话题: nrow话题: ncol话题: matlab