一、 集合运算
ismember(A, S)判断A中的元素是否在S中。
Intersect(A, B) 求交集
setxor(A, B) returns the values that are not in the intersection of A and B.
Union (A, B)并集
setdiff(A, B) returns the values in A that are not in B
unique(A)
二、 统计
grpstats(X) 分类统计
quantile 求分位数
tabulate() 求频数分布
B = ordinal(A,labels,[],edges) 次序统计
[n ,bin]= histc(x,edges,dim)频数统计
[C,labels] = summary(A)
三、 计量
1. 非线性估计
MIfun=@(b,x)(b(1)*(x(:,1).^b(2)).*(x(:,2).^b(3)));
b0=[0.005,1,0.5] ;