📄 untitled1.asv
字号:
function = test( x )%UNTITLED1 Summary of this function goes here% Detailed explanation goes hereload x.txt;f=x(:,1);faverage=mean (f);fstd=std(f);a=min(f);b=max(f)xx=(a-2):0.05:b+2;p=20*normpdf(xx,faverage,fstd);count=0;for i=a:0.1:b count=count+1; aa=find(f==i); Fcount1)=length(a);end%for j=min(f12):0.1:max(f12) %count2=count2+1; %b=find(f12==j); %F12(count2)=length(b);%endfigure(1)i=min(f11):0.1:max(f11);stem(i,F11,'r');hold onplot(x,p);%figure(2)%j=min(f12):0.1:max(f12);%stem(j,F12,'b');
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -