![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
matlab
Live-and-Learn
这个作者很懒,什么都没留下…
展开
-
matlab:draw of bar
bar(data_efast(5,:))ylabel('EFAST')legend('sample=7800')set(gca,'xtick',[1:1:25])set(gca,'ylim',[0 1])set(gca,'xticklabel',label)xtb=get(gca,'xticklabel');xt=get(gca,'xtick');yt=get(gca,'ytick');xtext...原创 2018-02-11 08:56:50 · 278 阅读 · 0 评论 -
Matlab:random number generation of various distribution
MATLAB产生各种分布的随机数 1, 均匀分布U(a,b):产生m*n阶[a,b]均匀分布U(a,b)的随机数矩阵:unifrnd (a,b,m, n) 产生一个[a,b]均匀分布的随机数:unifrnd (a,b)2,0-1分布U(0,1)产生m*n阶[0,1]均匀分布的随机数矩阵:rand (m, n)产生一个[0,1]均匀分布的随机数:rand4,二类分布binornd(N,P,m...转载 2018-03-30 08:01:17 · 509 阅读 · 0 评论 -
Matlab: arithmetic of set
intersect:集合交集 ismember :是否集合中元素 setdiff :集合差集 setxor :集合异或(不在交集中的元素) union :两个集合的并 unique :返回向量作为一个集合所有元素(去掉相同元素)...原创 2018-03-28 20:20:46 · 183 阅读 · 0 评论