shiftdim(shiftdim matlab,科学网—matlab函数 – 黄妮妮的博文)

发布时间:2025-12-10 19:24:23 浏览次数:5

shiftdim matlab,科学网—matlab函数 – 黄妮妮的博文-

shiftdim matlab,科学网—matlab函数(矩阵相关) – 黄妮妮的博文matlab函数(矩阵相关)functionsfrequentlyusedinmatlabinrespectofmatrixElementarymatrices.zeros-Zerosarray.ones-Onesarray.eye-Identitymatrix.repmat-Replicateandt…

matlab函数(矩阵相关)

functions frequently used in matlab in respect of matrix

Elementary matrices.

zeros – Zeros array.

ones – Ones array.

eye – Identity matrix.

repmat – Replicate and tile array.

rand – Uniformly distributed random numbers.

randn – Normally distributed random numbers.

linspace – Linearly spaced vector.

logspace – Logarithmically spaced vector.

freqspace – Frequency spacing for frequency response.

meshgrid – X and Y arrays for 3-D plots.

accumarray – Construct an array with accumulation.

: – Regularly spaced vector and index into matrix.

Basic array information.

size – Size of array.

length – Length of vector.

ndims – Number of dimensions.

numel – Number of elements.

disp – Display matrix or text.

isempty – True for empty array.

isequal – True if arrays are numerically equal.

isequalwithequalnans – True if arrays are numerically equal.

Matrix manipulation.

cat – Concatenate arrays.

reshape – Change size.

diag – Diagonal matrices and diagonals of matrix.

blkdiag – Block diagonal concatenation.

tril – Extract lower triangular part.

triu – Extract upper triangular part.

fliplr – Flip matrix in left/right direction.

flipud – Flip matrix in up/down direction.

flipdim – Flip matrix along specified dimension.

rot90 – Rotate matrix 90 degrees.

: – Regularly spaced vector and index into matrix.

find – Find indices of nonzero elements.

end – Last index.

sub2ind – Linear index from multiple subscripts.

ind2sub – Multiple subscripts from linear index.

Multi-dimensional array functions.

ndgrid – Generate arrays for N-D functions and interpolation.

permute – Permute array dimensions.

ipermute – Inverse permute array dimensions.

shiftdim – Shift dimensions.

circshift – Shift array circularly.

squeeze – Remove singleton dimensions.

Array utility functions.

isscalar – True for scalar.

isvector – True for vector.

Special variables and constants.

ans – Most recent answer.

eps – Floating point relative accuracy.

realmax – Largest positive floating point number.

realmin – Smallest positive floating point number.

pi – 3.1415926535897….

i, j – Imaginary unit.

inf – Infinity.

NaN – Not-a-Number.

isnan – True for Not-a-Number.

isinf – True for infinite elements.

isfinite – True for finite elements.

why – Succinct answer.

Specialized matrices.

compan – Companion matrix.

gallery – Higham test matrices.

hadamard – Hadamard matrix.

hankel – Hankel matrix.

hilb – Hilbert matrix.

invhilb – Inverse Hilbert matrix.

magic – Magic square.

pascal – Pascal matrix.

rosser – Classic symmetric eigenvalue test problem.

toeplitz – Toeplitz matrix.

vander – Vandermonde matrix.

wilkinson – Wilkinson’s eigenvalue test matrix.

转载本文请联系原作者获取授权,同时请注明本文来自黄妮妮科学网博客。

链接地址:http://blog.sciencenet.cn/blog-226019-240045.html

上一篇:一位海外教授对SCI的一些看法

下一篇:三百年的误读:牛顿-我站在巨人的肩膀上

需要做网站?需要网络推广?欢迎咨询客户经理 13272073477