function varargout = Matrix_program_3B3(varargin)
% MATRIX_PROGRAM_3B3 M-file for Matrix_program_3B3.fig
% MATRIX_PROGRAM_3B3, by itself, creates a new MATRIX_PROGRAM_3B3 or raises the existing
% singleton*.
%
% H = MATRIX_PROGRAM_3B3 returns the handle to a new MATRIX_PROGRAM_3B3 or the handle to
% the existing singleton*.
%
% MATRIX_PROGRAM_3B3('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in MATRIX_PROGRAM_3B3.M with the given input arguments.
%
% MATRIX_PROGRAM_3B3('Property','Value',...) creates a new MATRIX_PROGRAM_3B3 or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before Matrix_program_3B3_OpeningFunction gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to Matrix_program_3B3_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
% Edit the above text to modify the response to help Matrix_program_3B3
% Last Modified by GUIDE v2.5 28-Oct-2004 14:21:02
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @Matrix_program_3B3_OpeningFcn, ...
'gui_OutputFcn', @Matrix_program_3B3_OutputFcn, ...
'gui_LayoutFcn', [] , ...
'gui_Callback', []);
if nargin & isstr(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 Matrix_program_3B3 is made visible.
function Matrix_program_3B3_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 Matrix_program_3B3 (see VARARGIN)
% Choose default command line output for Matrix_program_3B3
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes Matrix_program_3B3 wait for user response (see UIRESUME)
% uiwait(handles.figure1);
logo=imread('ucti.jpg');
image(logo)
axis image
axis off
% --- Outputs from this function are returned to the command line.
function varargout = Matrix_program_3B3_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 during object creation, after setting all properties.
function a111_CreateFcn(hObject, eventdata, handles)
% hObject handle to a111 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: edit controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc
set(hObject,'BackgroundColor','white');
else
set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
end
function a111_Callback(hObject, eventdata, handles)
% hObject handle to a111 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: get(hObject,'String') returns contents of a111 as text
% str2double(get(hObject,'String')) returns contents of a111 as a double
% --- Executes during object creation, after setting all properties.
function a112_CreateFcn(hObject, eventdata, handles)
% hObject handle to a112 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: edit controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc
set(hObject,'BackgroundColor','white');
else
set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
end
function a112_Callback(hObject, eventdata, handles)
% hObject handle to a112 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: get(hObject,'String') returns contents of a112 as text
% str2double(get(hObject,'String')) returns contents of a112 as a double
% --- Executes during object creation, after setting all properties.
function a121_CreateFcn(hObject, eventdata, handles)
% hObject handle to a121 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: edit controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc
set(hObject,'BackgroundColor','white');
else
set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
end
function a121_Callback(hObject, eventdata, handles)
% hObject handle to a121 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: get(hObject,'String') returns contents of a121 as text
% str2double(get(hObject,'String')) returns contents of a121 as a double
% --- Executes during object creation, after setting all properties.
function a122_CreateFcn(hObject, eventdata, handles)
% hObject handle to a122 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: edit controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc
set(hObject,'BackgroundColor','white');
else
set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
end
function a122_Callback(hObject, eventdata, handles)
% hObject handle to a122 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: get(hObject,'String') returns contents of a122 as text
% str2double(get(hObject,'String')) returns contents of a122 as a double
% --- Executes during object creation, after setting all properties.
function a211_CreateFcn(hObject, eventdata, handles)
% hObject handle to a211 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: edit controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc
set(hObject,'BackgroundColor','white');
else
set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
end
function a211_Callback(hObject, eventdata, handles)
% hObject handle to a211 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: get(hObject,'String') returns contents of a211 as text
% str2double(get(hObject,'String')) returns contents of a211 as a double
% --- Executes during object creation, after setting all properties.
function a212_CreateFcn(hObject, eventdata, handles)
% hObject handle to a212