function varargout = noman00(varargin)
% NOMAN00 M-file for noman00.fig
% NOMAN00, by itself, creates a new NOMAN00 or raises the existing
% singleton*.
%
% H = NOMAN00 returns the handle to a new NOMAN00 or the handle to
% the existing singleton*.
%
% NOMAN00('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in NOMAN00.M with the given input arguments.
%
% NOMAN00('Property','Value',...) creates a new NOMAN00 or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before noman00_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to noman00_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 noman00
% Last Modified by GUIDE v2.5 19-Dec-2008 23:40:40
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @noman00_OpeningFcn, ...
'gui_OutputFcn', @noman00_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 noman00 is made visible.
function noman00_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 noman00 (see VARARGIN)
% Choose default command line output for noman00
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes noman00 wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = noman00_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 p1.
function p1_Callback(hObject, eventdata, handles)
a1=get(handles.t1,'String')
a1=strcat(a1,'1')
set(handles.t1,'String',a1)
% hObject handle to p1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --- Executes on button press in p5.
function p5_Callback(hObject, eventdata, handles)
a5=get(handles.t1,'String')
a5=strcat(a5,'5')
set(handles.t1,'String',a5)
% hObject handle to p5 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --- Executes on button press in p4.
function p4_Callback(hObject, eventdata, handles)
a4=get(handles.t1,'String')
a4=strcat(a4,'4')
set(handles.t1,'String',a4)
% hObject handle to p4 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --- Executes on button press in p9.
function p9_Callback(hObject, eventdata, handles)
a9=get(handles.t1,'String')
a9=strcat(a9,'9')
set(handles.t1,'String',a9)
% hObject handle to p9 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --- Executes on button press in p6.
function p6_Callback(hObject, eventdata, handles)
a6=get(handles.t1,'String')
a6=strcat(a6,'6')
set(handles.t1,'String',a6)
% hObject handle to p6 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --- Executes on button press in p8.
function p8_Callback(hObject, eventdata, handles)
a8=get(handles.t1,'String')
a8=strcat(a8,'8')
set(handles.t1,'String',a8)
% hObject handle to p8 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --- Executes on button press in p11.
function p11_Callback(hObject, eventdata, handles)
a11=get(handles.t1,'String')
a11=eval(a11)
%eval will return the result in symbolic form
%evalExecute string containing MATLAB expression
% Syntax
% eval(expression)[a1, a2, a3, ...] = eval(function(b1, b2,b3, ...))
set(handles.t1,'String',a11)
% hObject handle to p11 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --- Executes on button press in p0.
function p0_Callback(hObject, eventdata, handles)
a0=get(handles.t1,'String')
a0=strcat(a0,'0')
set(handles.t1,'String',a0)
% hObject handle to p0 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --- Executes on button press in p3.
function p3_Callback(hObject, eventdata, handles)
a3=get(handles.t1,'String')
a3=strcat(a3,'3')
set(handles.t1,'String',a3)
% hObject handle to p3 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --- Executes on button press in p2.
function p2_Callback(hObject, eventdata, handles)
a2=get(handles.t1,'String')
a2=strcat(a2,'2')
set(handles.t1,'String',a2)
% hObject handle to p2 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --- Executes on button press in p7.
function p7_Callback(hObject, eventdata, handles)
a7=get(handles.t1,'String')
a7=strcat(a7,'7')
set(handles.t1,'String',a7)
% hObject handle to p7 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --- Executes on button press in p10.
function p10_Callback(hObject, eventdata, handles)
a10=get(handles.t1,'String')
a10=strcat(a10,'.')
set(handles.t1,'String',a10)
% hObject handle to p10 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --- Executes on button press in p12.
function p12_Callback(hObject, eventdata, handles)
a12=get(handles.t1,'String')
a12=strcat(a12,'+')
set(handles.t1,'String',a12)
% hObject handle to p12 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --- Executes on button press in p13.
function p13_Callback(hObject, eventdata, handles)
a13=get(handles.t1,'String')
a13=strcat(a13,'-')
set(handles.t1,'String',a13)
% hObject handle to p13 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --- Executes on button press in p14.
function p14_Callback(hObject, eventdata, handles)
a14=get(handles.t1,'String')
a14=strcat(a14,'/')
set(handles.t1,'String',a14)
% hObject handle to p14 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --- Executes on button press in p15.
function p15_Callback(hObject, eventdata, handles)
a15=get(handles.t1,'String')
a15=strcat(a15,'*')
set(handles.t1,'String',a15)
% hObject handle to p15 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --- Executes on button press in p16.
function p16_Callback(hObject, eventdata, handles)
a16=get(handles.t1,'String')
a16=set(handles.t1,'String',' ')
% hObject handle to p16 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --- Executes on button press in p17.
function p17_Callback(hObject, eventdata, handles)
a17=get(handles.t1,'String')
a17=strcat(a17,')')
set(handles.t1,'String',a17)
% hObject handle to p17 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --- Executes on button press in p18.
function p18_Callback(hObject, eventdata, handles)
a18=get(handles.t1,'String')
a18=strcat(a18,'(')
set(handles.t1,'String',a18)
% hObject handle to p18 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --- Executes on button press in p19.
function p19_Callback(hObject, eventdata, handles)
a19=get(handles.t1,'String')
a19=strcat(a19,'sqrt')
set(handles.t1,'String',a19)
% hObject handle to p19 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --- Executes on button press in p20.
function p20_Callback(hObject, eventdata, handles)
a20=get(handles.t1,'String')
a20=strcat(a20,'exp')
set(handles.t1,'String',a20)
% hObject handle to p20 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --- Executes on button press in p21.
function p21_Callback(hObject, eventdata, handles)
a21=get(handles.t1,'String')
a21=strcat(a21,'sin')
set(handles.t1,'String',a21)
% hObject handle to p21 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --- Executes on button press in p19.
function p22_Callback(hObject, eventdata, handles)
a22=get(handles.t1,'String')
a22=strcat(a22,'cos')
set(handles.t1,'String',a22)
% hObject handle to p19 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --- Executes on button press in p23.
function p23_Callback(hObject, eventdata, handles)
a23=get(handles.t1,'String')
a23=strcat(a23,'tan')
set(handles.t1,'String',a23)
% hObject handle to p23 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --- Executes on button press in p20.
function pushbutton26_Callback(hObject, eventdata, handles)
% hObject handle to p20 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --- Executes on button press in p21.
function pushbutton27_Callback(hObject, eventdata, handles)
% hObject handle to p21 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --- Executes on button press in p22.
function pushbutton28_Callback(hObject, eventdata, handles)
% hObject handle to p22 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --- Executes on button press in p23.
function pushbutton29_Callback(hObject, eventdata, handles)
% hObject handle to p23 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --- Executes on button press in p24.
function p24_Callback(hObject, eventdata, handles)
a24=get(handles.t1,'String')
a24=strcat(a24,'/100')
set(handles.t1,'String',a24)
% hObject handle to p24 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --- Executes on button press in p25.
function p25_Callback(hObject, eventdata, handles)
% hObject handle to p25 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)