学习笔记20—MATLAB特殊函数

1、qfunc就是Q函数

2、mae(平均绝对误差)函数,mae(abs(A-B))

3、Z = zscore(x) 等价于 Z=(X-repmat(mean(X),57,1))./repmat(std(X),57,1);

4、combntns(1:5,3)、nchoosek(1:5,3)、combnk(1:5,3) 从5个数字中选出3个

5、rand() 随机生成特定范围的数值:In general, you can generate N random numbers in the interval [a,b] with the formula r = a + (b-a).*rand(N,1);.

 

posted @ 2018-10-13 18:40  何弈  阅读(1861)  评论(0编辑  收藏  举报
你好