www.gusucode.com > 概率统计实验源程序 > 概率统计实验源程序/概率统计实验源程序(2007.8.9)/yangbentj.m
function varargout = yangbentj(varargin) % YANGBENTJ M-file for yangbentj.fig % YANGBENTJ, by itself, creates a new YANGBENTJ or raises the existing % singleton*. % % H = YANGBENTJ returns the handle to a new YANGBENTJ or the handle to % the existing singleton*. % % YANGBENTJ('CALLBACK',hObject,eventData,handles,...) calls the local % function named CALLBACK in YANGBENTJ.M with the given input arguments. % % YANGBENTJ('Property','Value',...) creates a new YANGBENTJ or raises the % existing singleton*. Starting from the left, property value pairs are % applied to the GUI before yangbentj_OpeningFunction gets called. An % unrecognized property name or invalid value makes property application % stop. All inputs are passed to yangbentj_OpeningFcn via varargin. % % *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one % instance to run (singleton)". % % See also: GUIDE, GUIDATA, GUIHANDLES % Copyright 2002-2003 The MathWorks, Inc. % Edit the above text to modify the response to help yangbentj % Last Modified by GUIDE v2.5 10-Sep-2006 14:27:26 % Begin initialization code - DO NOT EDIT gui_Singleton = 1; gui_State = struct('gui_Name', mfilename, ... 'gui_Singleton', gui_Singleton, ... 'gui_OpeningFcn', @yangbentj_OpeningFcn, ... 'gui_OutputFcn', @yangbentj_OutputFcn, ... 'gui_LayoutFcn', [] , ... 'gui_Callback', []); if nargin && ischar(varargin{1}) gui_State.gui_Callback = str2func(varargin{1}); end if nargout [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:}); else gui_mainfcn(gui_State, varargin{:}); end % End initialization code - DO NOT EDIT % --- Executes just before yangbentj is made visible. function yangbentj_OpeningFcn(hObject, eventdata, handles, varargin) % This function has no output args, see OutputFcn. % hObject handle to figure % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % varargin command line arguments to yangbentj (see VARARGIN) % Choose default command line output for yangbentj handles.output = hObject; % Update handles structure guidata(hObject, handles); % UIWAIT makes yangbentj wait for user response (see UIRESUME) % uiwait(handles.figure1); %x=normrnd(0,1,100,1); x=[ 0.8095 1.9288 0.3961 -0.8614 2.4319 -0.8405 0.2805 0.8204 1.2278 -0.0636 0.6453 -1.7713 0.0596 -0.7602 -1.6909 1.1037 1.4625 0.2362 -1.0977 2.4152 -0.4021 0.9141 -0.1360 1.3142 0.3224 -0.4765 0.0762 -0.1051 1.4170 0.7079 0.3679 -0.6028 -0.8521 0.6551 1.4702 -0.8104 -1.2762 1.7223 0.1019 -0.8020 -1.2508 1.2377 1.5282 1.7769 0.6312 0.0833 2.1400 1.2635 -1.7506 -0.0144 2.4681 -0.6692 0.2599 -0.3723 1.3186 -0.6531 0.0622 -0.7359 -0.1793 1.0847 0.1369 -0.0156 -0.9385 -1.4781 0.3619 0.4778 0.3217 -1.8776 0.6805 0.2334 1.2395 0.1257 0.1797 -0.6051 -1.0369 -0.2953 1.4561 1.8025 -1.3336 0.3873 -0.0228 0.1106 0.8128 -1.0091 -1.0046 0.2830 0.2898 -0.2473 -0.2189 0.8987 -0.6422 -0.1804 0.7179 0.3014 1.5489 -0.0442 -0.0297 -0.3821 -0.5539 0.9324]; hist_xzh1(x) axis off % --- Outputs from this function are returned to the command line. function varargout = yangbentj_OutputFcn(hObject, eventdata, handles) % varargout cell array for returning output args (see VARARGOUT); % hObject handle to figure % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Get default command line output from handles structure varargout{1} = handles.output; % --- Executes on button press in pushbutton1. function pushbutton1_Callback(hObject, eventdata, handles) % hObject handle to pushbutton1 (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) close 样本统计量和统计图 xiezhh7 % --- Executes on button press in pushbutton2. function pushbutton2_Callback(hObject, eventdata, handles) % hObject handle to pushbutton2 (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) close 样本统计量和统计图 xiezhh8 % --- Executes on button press in pushbutton3. function pushbutton3_Callback(hObject, eventdata, handles) % hObject handle to pushbutton3 (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) close 样本统计量和统计图 shiyan