我想扫描矩阵的所有行。取所有第一列或 x 列并将它们放入另一个新矩阵中。我怎样才能做到这一点 ?
下面的示例矩阵
input_matrix_training={
{0.645569620253164,0.443037974683544,0.177215189873418,0.0253164556962025};
{0.620253164556962,0.379746835443038,0.177215189873418,0.0253164556962025};
{0.594936708860759,0.405063291139241,0.164556962025316,0.0253164556962025};
}
例如,让我们扫描行并制作只有第一列的新矩阵
结果 :0.645569620253164, 0.620253164556962, 0.594936708860759
谢谢你
matlab,矩阵