Matlab:支持分类数组的核心函数

Matlab:支持分类数组的核心函数


MATLAB中的许多函数在处理分类数组时与处理其他数组并无不同。但有一些函数在处理分类数组时,可能会有不一样的行为表现。如果多个输入参数是有序分类数组,函数通常要求这些数组具有相同的类别集合,顺序也必须相同。此外,一些函数(例如 max 和 gt)会要求输入分类数组必须是有序分类数组。

下表列出了除了处理分类数组还可处理其他数组的常见 MATLAB 函数。
size
length
ndims
numel
isrow
iscolumn
cat
horzcat
vertcat
isequal
isequaln
eq
ne
lt
le
ge
gt
min
max
median
mode
intersect
ismember
setdiff
setxor
unique
union
times
sort
sortrows
issorted
permute
reshape
transpose
ctranspose
plot
plot3
scatter
scatter3
bar
barh
histogram
pie
rose
stem
stairs
area
mesh
surf
surface
semilogx
semilogy
fill
fill3
line
text
double
single
int8
int16
int32
int64
uint8
uint16
uint32
uint64
char
string
cellstr

该博文为原创文章,未经博主同意不得转。
本文章博客地址:https://cplusplus.blog.csdn.net/article/details/127998143

你可能感兴趣的:(Matlab完整教程,matlab)