Professional Documents
Culture Documents
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
gui_mainfcn(gui_State, varargin{:});
end
% --- Outputs from this function are returned to the command line.
function varargout = tugasuts_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)
rtot=(rs1+rs2+rs3+rs4);
set(myform.rtotal,'string',num2str(rtot));
rptot=1/(1/rp1)+(1/rp2)+(1/rp3)+(1/rp4);
set(myform.rpt,'string',num2str(rptot));
vtot=itot*rtot;
set(myform.vseri,'string',num2str(vtot));
% hObject handle to pushbutton6 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
itot=vtot/rtot;
set(myform.iseri,'string',num2str(itot));
vtot=itot*rptot;
set(myform.vparalel,'string',num2str(vtot));
% hObject handle to pushbutton12 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
iptot=vptot/rptot;
set(myform.iparalel,'string',num2str(iptot));
% hObject handle to pushbutton13 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)