function varargout = untitled(varargin)
% UNTITLED M-file for untitled.fig
% UNTITLED, by itself, creates a new UNTITLED or raises the existing
% singleton*.
%
% H = UNTITLED returns the handle to a new UNTITLED or the handle to
% the existing singleton*.
%
% UNTITLED('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in UNTITLED.M with the given input arguments.
%
% UNTITLED('Property','Value',...) creates a new UNTITLED or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before untitled_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to untitled_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 untitled
% Last Modified by GUIDE v2.5 05-Sep-2011 19:05:51
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @untitled_OpeningFcn, ...
'gui_OutputFcn', @untitled_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 untitled is made visible.
function untitled_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 untitled (see VARARGIN)
% Choose default command line output for untitled
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes untitled wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = untitled_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)
load date2 p t;
a1=get(findobj(gcf,'tag','edit1'),'string');
A1=str2num(a1);
B1=(A1-min(p(1,:)))/(max(p(1,:))-min(p(1,:)));
a2=get(findobj(gcf,'tag','edit2'),'string');
A2=str2num(a2);
B2=(A2-min(p(2,:)))/(max(p(2,:))-min(p(2,:)));
b=[B1;B2];
load net51 net;
c=sim(net,b);
C(1,1)=c(1,1)*(max(t(1,:))-min(t(1,:)))+min(t(1,:));
C(2,1)=c(2,1)*(max(t(2,:))-min(t(2,:)))+min(t(2,:));
C(3,1)=c(3,1)*(max(t(3,:))-min(t(3,:)))+min(t(3,:));
C(4,1)=c(4,1)*(max(t(4,:))-min(t(4,:)))+min(t(4,:));
n1=C(1,1);
n1=sprintf('%10.2f',n1);
N1=num2str(n1);
n2=C(2,1);
n2=sprintf('%10.2f',n2);
N2=num2str(n2);
n3=C(3,1);
n3=sprintf('%10.2f',n3);
N3=num2str(n3);
n4=C(4,1);
n4=sprintf('%10.2f',n4);
N4=num2str(n4);
set(findobj(gcf,'tag','edit3'),'string',N1);
set(findobj(gcf,'tag','edit4'),'string',N2);
set(findobj(gcf,'tag','edit5'),'string',N3);
set(findobj(gcf,'tag','edit6'),'string',N4);
% --- 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)
set(findobj(gcf,'tag','edit1'),'string','');
set(findobj(gcf,'tag','edit2'),'string','');
set(findobj(gcf,'tag','edit3'),'string','');
set(findobj(gcf,'tag','edit4'),'string','');
set(findobj(gcf,'tag','edit5'),'string','');
set(findobj(gcf,'tag','edit6'),'string','');
% --- 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;
function edit1_Callback(hObject, eventdata, handles)
% hObject handle to edit1 (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 edit1 as text
% str2double(get(hObject,'String')) returns contents of edit1 as a double
% --- Executes during object creation, after setting all properties.
function edit1_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit1 (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 && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
function edit2_Callback(hObject, eventdata, handles)
% hObject handle to edit2 (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 edit2 as text
% str2double(get(hObject,'String')) returns contents of edit2 as a double
% --- Executes during object creation, after setting all properties.
function edit2_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit2 (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 && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
function edit3_Callback(hObject, eventdata, handles)
% hObject handle to edit3 (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 edit3 as text
% str2double(get(hObject,'String')) returns contents of edit3 as a double
% --- Executes during object creation, after setting all properties.
function edit3_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit3 (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 && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
function edit4_Callback(hObject, eventdata, handles)
% hObject handle to edit4 (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 edit4 as text
% str2double(get(hObject,'String')) returns contents of edit4 as a double
% --- Executes during object creation, after setting a
没有合适的资源?快使用搜索试试~ 我知道了~
pca bp gabp cpobp算法的人脸识别技术研究
共479个文件
bmp:400个
m:43个
mat:25个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 147 浏览量
2022-07-09
13:44:19
上传
评论
收藏 4.52MB RAR 举报
温馨提示
pca bp gabp cpobp算法的人脸识别技术研究
资源推荐
资源详情
资源评论
收起资源包目录
pca bp gabp cpobp算法的人脸识别技术研究 (479个子文件)
s28_10.bmp 11KB
s21_4.bmp 11KB
s24_1.bmp 11KB
s5_3.bmp 11KB
s23_1.bmp 11KB
s33_9.bmp 11KB
s29_4.bmp 11KB
s27_4.bmp 11KB
s19_5.bmp 11KB
s2_7.bmp 11KB
s20_1.bmp 11KB
s2_4.bmp 11KB
s33_2.bmp 11KB
s32_7.bmp 11KB
s4_7.bmp 11KB
s27_6.bmp 11KB
s5_4.bmp 11KB
s32_2.bmp 11KB
s5_5.bmp 11KB
s21_2.bmp 11KB
s32_5.bmp 11KB
s40_6.bmp 11KB
s33_5.bmp 11KB
s11_2.bmp 11KB
s26_3.bmp 11KB
s11_8.bmp 11KB
s6_10.bmp 11KB
s19_6.bmp 11KB
s27_2.bmp 11KB
s19_4.bmp 11KB
s25_4.bmp 11KB
s36_3.bmp 11KB
s40_5.bmp 11KB
s33_6.bmp 11KB
s11_7.bmp 11KB
s1_8.bmp 11KB
s25_1.bmp 11KB
s10_9.bmp 11KB
s17_4.bmp 11KB
s30_4.bmp 11KB
s5_10.bmp 11KB
s28_5.bmp 11KB
s9_4.bmp 11KB
s39_5.bmp 11KB
s11_9.bmp 11KB
s15_5.bmp 11KB
s17_2.bmp 11KB
s27_5.bmp 11KB
s35_8.bmp 11KB
s38_8.bmp 11KB
s4_4.bmp 11KB
s30_3.bmp 11KB
s36_5.bmp 11KB
s37_2.bmp 11KB
s1_6.bmp 11KB
s23_2.bmp 11KB
s27_1.bmp 11KB
s13_9.bmp 11KB
s34_6.bmp 11KB
s12_4.bmp 11KB
s2_3.bmp 11KB
s29_3.bmp 11KB
s22_3.bmp 11KB
s36_9.bmp 11KB
s22_2.bmp 11KB
s1_10.bmp 11KB
s3_1.bmp 11KB
s24_6.bmp 11KB
s12_6.bmp 11KB
s9_7.bmp 11KB
s22_7.bmp 11KB
s37_3.bmp 11KB
s10_10.bmp 11KB
s16_8.bmp 11KB
s24_5.bmp 11KB
s23_9.bmp 11KB
s14_5.bmp 11KB
s20_6.bmp 11KB
s28_7.bmp 11KB
s39_4.bmp 11KB
s26_10.bmp 11KB
s5_9.bmp 11KB
s10_5.bmp 11KB
s30_8.bmp 11KB
s22_5.bmp 11KB
s19_10.bmp 11KB
s6_8.bmp 11KB
s16_6.bmp 11KB
s3_6.bmp 11KB
s16_10.bmp 11KB
s20_2.bmp 11KB
s7_6.bmp 11KB
s36_1.bmp 11KB
s26_5.bmp 11KB
s40_4.bmp 11KB
s36_8.bmp 11KB
s12_8.bmp 11KB
s36_6.bmp 11KB
s10_8.bmp 11KB
s13_2.bmp 11KB
共 479 条
- 1
- 2
- 3
- 4
- 5
资源评论
人工智能专属驿站
- 粉丝: 284
- 资源: 174
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功