What about norms = sqrt(sum(A.^2,1)). or norms = sqrt(sum(A.^2,2))?. depending on whether your coordinates are in rows or in columns.
確定! 回上一頁