关于数据的一些操作
数据
| 函数 | 功能 | 其他相关函数 |
|---|---|---|
bitshift() |
将位移动指定位数 | bitand, bitcmp, bitget, bitor, bitset,bitxor, intmax |
int8() |
转换为 8 位有符号整数 | double, int16, int32, int64, intmax, intmin, single, uint16, uint32, uint64, uint8 |
dec2bin() |
将十进制数字转换为表示二进制数字的字符矢量 | bin2dec, dec2hex, dec2base, flintmax. |
circshift() |
循环平移数组 | fftshift, shiftdim, permute. |
floor() |
朝负无穷大四舍五入 | ceil, fix, round |
数组
| 函数 | 功能 | 其他相关函数 |
|---|---|---|
zeros() |
创建全零数组 | complex, eye, false, ones, rand, size |
size() |
数组大小 | height, length, ndims, numel, width |
数学函数
| 函数 | 功能 | 其他相关函数 |
|---|---|---|
sin() |
参数的正弦,以弧度为单位 | asin, asind, sind, sinh |
cos() |
以弧度为单位的参数的余弦 | acos, acosd, cosd, cosh |
mod() |
除后的余数(取模运算) | rem |

浙公网安备 33010602011771号