shiftdim matlab,科学网—matlab函数(矩阵相关) - 黄妮妮的博文

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的一些看法

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值