資源描述:
《演示平臺(tái)程序源代碼》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在工程資料-天天文庫(kù)。
1、基于matIabGUI數(shù)理統(tǒng)計(jì)演示平臺(tái)程序源代碼學(xué)校沈陽(yáng)理工大學(xué)學(xué)院理學(xué)院專業(yè)信息與計(jì)算科學(xué)姓名吳亞輝學(xué)號(hào)1209010328指導(dǎo)老師侯亞君實(shí)驗(yàn)平臺(tái)主頁(yè)面functionvarargout=sypt(varargin)gui_Singleton=1;mfilename,???gui_Stete=struet('gui_Name'.gui_Singleton1,gui_Singleton,1gui_OpeningFcn1,@sypt_OpeningFcn,1gui_OutputFcn1,1gui_Layou
2、tFcn1,fgui_Callback1,ifnargin&&ischar(varargin{1})@sypt_OutputFcnz..?[]z[]);gui_State.gui_Callback=str2func(varargin{1});endifnargout[varargout{1:nargout}]=gui_mainfcn(gui_State,varargin{:});elsegui_mainfcn(gui_State,varargin{:});endfunctionsypt_OpeningFc
3、n(hObject*eventdata,handles,varargin)handles?output=hObject;guidata(hObjectzhandles);functionvarargout=sypt_OutputFcn(hObject,eventdata,handles)varargout{1}=handles.output;functionpushbuttonl_Callback(hObject,h=gcf;fenbu_chouyang;close(h);eventdata,handle
4、s)functionpushbutton2_Callback(hObject,h=gcf;zxjx;close(h);eventdata,handles)functionpushbutton3_Callback(hObject,h=gcf;yt>tj;close(h);eventdata,handles)functionpushbutton4_Callback(hObject,close(gef)functionpushbutton5_Callback(hObject,h=gcf;zxeef;eventd
5、ata,eventdata,handles)handles)close(h);卡方、t、F等分布functionfenbu_chouyangOldHandle=findobj('TypeJfontsize1,font_size2,1fontunits1,1normalized1/1string1,11,1tag1/1editl1,'backgroundcolor',[111]);panel3=uipanel(fig,1units1,1normalized1,1pos1,[0.0540.0160.3360.
6、086]);uicontrol(panel3,'style','text',1units1,1normalized1,'pos',[0.050.05figure1z1Tag1,1chouyang1);ifishandle(OldHandle)close(OldHandle);endfig=figure;init_chouyeng(fig);functioninit_chouyang(fig)scnsize=get(0,1screensize1);font_sizel=14*sqrt(sensize(3)★
7、sensize(4)/(1024*768));font_size2=12*sqrt(sensize(3)*scnsize(4)/(1024*768));set(fig,1units1/1normalized1,1positionJ[0.03810.07420.92770.8464]…??'menubar,JnonJJnamJJ卡方、t、F分布J?…fnumbertitle^olor1,[0.9250.9140.847],1tag1z1chouyang1);axes(1posJ[0.0630.340.60.
8、618],1tag1,1axesl1);panell=uipanel(fig,1units1/1normalized1,1pos1/[0.0380.0020.6460.265]);uicontrol(panell,1style1,1text1,1units1,1normalized1,1pos1,[0.0270.80.520.142],1string1,1請(qǐng)輸入止態(tài)分布或F分布的參數(shù)1z???1fontsizejfont_si