Beruflich Dokumente
Kultur Dokumente
By:
Emmanuel Federico G. Eduarte
CEM/3
April 2019
Mapua University
Muralla st. Intramuros, Manila
By:
Calvin Joshua C. Lacson
CEM/3
April 2019
Short description of the Project:
Here are the codes that were used for the said program:
function pushbutton1_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton1 (see GCBO)
% eventdata reserved - to be defined r a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
v1 = str2double(get(handles.edit1,'String'));
v2 = str2double(get(handles.edit2,'String'));
v3 = str2double(get(handles.edit3,'String'));
v4 = str2double(get(handles.edit4,'String'));
v5 = str2double(get(handles.edit5,'String'));
v6 = str2double(get(handles.edit6,'String'));
v7 = str2double(get(handles.edit7,'String'));
v8 = str2double(get(handles.edit8,'String'));
v9 = str2double(get(handles.edit9,'String'));
v10 = str2double(get(handles.edit10,'String'));
v11 = str2double(get(handles.edit11,'String'));
v12 = str2double(get(handles.edit12,'String'));
v13 = str2double(get(handles.edit13,'String'));
v14 = str2double(get(handles.edit14,'String'));
v15 = str2double(get(handles.edit15,'String'));
v16 = str2double(get(handles.edit16,'String'));
A = [v1 v2 v3 v4 ;v5 v6 v7 v8; v9 v10 v11 v12; v13 v14 v15 v16];
t = trace(A);
d = det(A);
set(handles.d,'String',d);
set(handles.t,'String',t);
guidata(hObject,handles);