正在加载图片...
Function Description ones Create a matrix or array of all ones zeros Create a matrix or array of all zeros eve Create a matrix with ones on the diagonal and zeros elsewhere accumarray Distribute elements of an input matrix to specified locations in an output matrix also allowing for accumulation diag Create a diagonal matrix from a vector magIc Create a square matrix with rows, columns, and diagonals that add up to the same number rand Create a matrix or array of uniformly distributed random numbers randn Create a matrix or array of normally distributed random numbers and arrays randperm Create a vector(1-by-n matrix)containing a random permutation of the specified integersFunction Description ones Create a matrix or array of all ones. zeros Create a matrix or array of all zeros. eye Create a matrix with ones on the diagonal and zeros elsewhere. accumarray Distribute elements of an input matrix to specified locations in an output matrix, also allowing for accumulation. diag Create a diagonal matrix from a vector. magic Create a square matrix with rows, columns, and diagonals that add up to the same number. rand Create a matrix or array of uniformly distributed random numbers. randn Create a matrix or array of normally distributed random numbers and arrays. randperm Create a vector (1-by-n matrix) containing a random permutation of the specified integers
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有