?? 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 + -