|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?我要加入
x
% --- 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)
hk=findobj('tag','edit10');chushuiceshi=str2num(get(hk,'string'));
hl=findobj('tag','edit11');jinshuiceshi=str2num(get(hl,'string'));
hm=findobj('tag','edit8');chuquceshi=str2num(get(hm,'string'));
function fangan=yanzheng4(jinshuiceshi,chushuiceshi,chuquceshi)
load nett3.mat
Q=[jinshuiceshi;chushuiceshi;chuquceshi];
y=sim(net,Q);
[a,b]=size(y);
for j=1:b
for i=1:12
if y(i,j)>0.8
y(i,:)==1;
i
end
end
end
set(findobj('tag','listbox1'),'string',i);
可以有
function fangan=yanzheng4(jinshuiceshi,chushuiceshi,chuquceshi)
load nett3.mat
吗?
[ 本帖最后由 mjhzhjg 于 2007-4-28 23:40 编辑 ] |
|