196条结果 - 在MATLAB中,如何找出矩阵的非零元素。并且输出它所在的行... 推荐答案 [row, col] = find( R ~= 0 ); % row,col是所有非零元素的横坐标和纵坐标
z.baidu.com