我正在制作统计分析器
我有大约100 + - 2 * 30,000的矩阵 对于我需要检查和总结的每一行:
* get number of values greater then 0 for each row
* get the sum of values for each row
现在提出逻辑问题
什么是更快更好的编程,
MEX:
going in for loops for each row over all matrices
inside a for over all the matrices
MATLAB:
using matrix calculating to get the sum of each row
and ready function to get the number of non zero matrices at each row?
P.S
任何人都可以帮我解决matlab代码问题吗?我是程序员,如何获得value == 0