亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? polgui_ver1_r14.m

?? 如何使用GUI那就下這個吧
?? M
?? 第 1 頁 / 共 3 頁
字號:
% --- Executes during object creation, after setting all properties.function points_CreateFcn(hObject, eventdata, handles)% hObject    handle to points (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    empty - handles not created until after all CreateFcns called% Hint: listbox controls usually have a white background on Windows.%       See ISPC and COMPUTER.if ispc    set(hObject,'BackgroundColor','white');else    set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));end%--------------------------------------------------------------------------% --- Executes on button press in remove.% Removes additional points and last digitized points onlyfunction remove_Callback(hObject, eventdata, handles)% hObject    handle to remove (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)global special_case strmatch_index no_add LOC DATA DATA_TRANSF COUNTER COUNTER1;currentVal=get(handles.points,'Value');handles.data=DATA_TRANSF;handles.location=LOC;resultStr= get(handles.points,'String');numResults = size(resultStr,1);strmatch_index=strmatch(handles.location(currentVal,:),handles.needed_loc,'exact');if currentVal<numResults     uiwait(msgbox('User Can remove only the last digitized point','Error','error','modal'));else     if strmatch(handles.location(currentVal,:),handles.needed_loc,'exact') & (numResults<=4)        special_case=1;        str6=sprintf('\n\n\nGET POINT %s',handles.location(currentVal,:));        set(handles.text2,'String',str6);        resultStr(currentVal) =[];        handles.data(currentVal,:)=[];        handles.location(currentVal,:)=[];        DATA(currentVal,:)=[];        LOC(currentVal,:)=[];        COUNTER1=COUNTER1-3;        switch strmatch_index            case 1                set(handles.get_test,'Enable','on');            case 2                set(handles.get_la,'Enable','on');            case 3                set(handles.get_ra,'Enable','on');            case 4                set(handles.get_nasion,'Enable','on');         endelseif  strmatch(handles.location(currentVal,:),handles.needed_loc,'exact') & (numResults>4) & (numResults<=length(handles.needed_loc))    special_case==2;    set(handles.remove,'Enable','Off');else    pos_size = get(handles.figure1,'Position');    % Call remove_modaldlg_r14 with the argument 'Position'.        user_response = remove_modaldlg_r14('Title','Redigitize');        switch user_response        case {'No'}             special_case=3;             resultStr(currentVal) =[];             handles.data(currentVal,:)=[];             handles.location(currentVal,:)=[];             LOC(currentVal,:)=[];             if isequal(no_add,0)                   no_add=1;             else                 no_add=no_add+1;             end     % take no action        case 'Yes'     %              str7=sprintf('GET POINT %s',handles.location(currentVal,:));             set(handles.text2,'String',str7);             resultStr(currentVal) =[];             handles.data(currentVal,:)=[];             handles.location(currentVal,:)=[];             LOC(currentVal,:)=[];        end    end    COUNTER=COUNTER-1;       % % If there are no other entries, disable the Remove and Plot     % button    % and change the list sting to <empty>    if isequal(numResults,length(currentVal)),        resultsStr = {'<empty>'};        currentVal = 1;        set(handles.remove,'Enable','off')    end    % % Ensure that list box Value is valid, then reset Value and String    currentVal = min(currentVal,size(resultStr,1));    set(handles.points,'Value',currentVal,'String',resultStr)    % handles.location    % LOC    % handles.count    % Store the new ResultsData    guidata(hObject, handles);endguidata(hObject,handles);%--------------------------------------------------------------------------% --- Executes on button press in plot.% Plot data on seperate figure function plot_Callback(hObject, eventdata, handles)% hObject    handle to plot (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)global DATA_TRANSF;status=get(handles.stop,'Enable');if isequal(status,'off')    load collected_data.mat;    DATA_TRANSF=data_transf;end plotColor = {'b','g','r','c','m','y','k'};Plotdata_x1=DATA_TRANSF(2:end,1);Plotdata_y1=DATA_TRANSF(2:end,2);Plotdata_z1=DATA_TRANSF(2:end,3);if ~isfield(handles,'PlotFigure') | ~ishandle(handles.PlotFigure),    handles.PlotFigure = figure('Name','Polhemus Digitizer',...        'Visible','off','NumberTitle','off',...        'HandleVisibility','off','IntegerHandle','off');    handles.PlotAxes = axes('Parent',handles.PlotFigure);    guidata(hObject, handles)end% Plot datapHandles = plot3(Plotdata_x1,Plotdata_y1,Plotdata_z1,'o','Parent',handles.PlotAxes);set(handles.PlotAxes,'BOX','on','XGrid','on','YGrid','on','ZGrid','on');xlabel(handles.PlotAxes,'X','Fontweight','bold','Fontsize',12);ylabel(handles.PlotAxes,'Y','Fontweight','bold','Fontsize',12);zlabel(handles.PlotAxes,'Z','Fontweight','bold','Fontsize',12);clear DATA_TRANSF% Make the figure visible and bring it forwardfigure(handles.PlotFigure)%--------------------------------------------------------------------------% Bytesavailable callback executes when the byte count reaches the one% specified in the handles.s.BytesAvailableFcnCount variable.function bytesavailablegui_callback(s,bytesavailable,handles)global DATA DATA_ORIG DATA_TRANSF COUNTER1 COUNTER additional redigitize  ;global LOC;global T M;global special_case strmatch_index no_add ; set(handles.points,'Value',1);data_str=fgetl(s); data_num=str2num(data_str); % Obtains data from digitizer when bytes-count % reaches the limit specified by BytesAvailableFcnCount% Format of data obtained for the current settings% 1 2 3 4 5 6 7% 1 ->01 Header% 2 ->X position in cms% 3-> Y position in cms% 4-> Z position in cms% 5-> Azimuth attitude in degrees% 6-> Elevation attitude in degrees% 7-> Roll attitude in degrees% Change for your specific device settingsdata_num(1,2:4); % Picks the X,Y,Z dataif isequal(additional,1) & COUNTER>4 % For additional points    DATA(COUNTER,1:3)=data_num(1,2:4);    handles.count=COUNTER;    DATA_TRANSF(COUNTER,1:3)=[data_num(1,2:4) 1]*T*M;    LOC=strvcat(LOC,num2str(COUNTER));    handles.data=DATA_TRANSF;    handles.location=LOC;    Plotdata_x=handles.data(handles.count,1);    Plotdata_y=handles.data(handles.count,2);    Plotdata_z=handles.data(handles.count,3);    if ~isequal(handles.count,1)          plot3(Plotdata_x,Plotdata_y,Plotdata_z,'p','Parent',handles.coordinates);         set(handles.coordinates,'BOX','on','XGrid','on','Ygrid','on','ZGrid','on');         hold(handles.coordinates,'on');         xlabel(handles.coordinates,'X','Fontweight','bold');         ylabel(handles.coordinates,'Y','Fontweight','bold');         zlabel(handles.coordinates,'Z','Fontweight','bold');    end    ResultsStr = get(handles.points,'String');    ResultsStr = [ResultsStr;{[handles.location(handles.count,:),'   :    ',...                num2str(handles.data(handles.count,1)),'   ',num2str(handles.data(handles.count,2)),'   ',num2str(handles.data(handles.count,3))]}];    set(handles.points,'String',ResultsStr);    str_text2=sprintf('\n\nPress Stylus Button to digitize additional points \n\n  OR\n\nPress STOP to finish digitization');    set(handles.text2,'String',str_text2);    COUNTER=COUNTER+1;%     handles.data    hObject=handles.get_additional;    guidata(hObject,handles);else     DATA_ORIG(COUNTER1,1:3)=data_num(1,2:4);       if rem(COUNTER1,3)==0 & COUNTER<=length(handles.needed_loc)           if (distance(DATA_ORIG(COUNTER1,:),DATA_ORIG(COUNTER1-1,:))>0.2)|(distance(DATA_ORIG(COUNTER1-1,:),DATA_ORIG(COUNTER1-2,:))>0.2)|(distance(DATA_ORIG(COUNTER1,:),DATA_ORIG(COUNTER1-2,:))>0.2)            redigitize=1; % For redigitization            COUNTER1=COUNTER1-3;            if COUNTER<5 % For test and cardinal points                errorstring=sprintf('Distance between succesive digitization greater than 2 mm\nRedigitize point %s\nPress OK to continue',handles.needed_loc(COUNTER,:));                uiwait(msgbox(errorstring,'Error','error','modal'));                switch COUNTER                  case 1                     set(handles.get_test,'Enable','on');                     set(handles.get_la,'Enable','off');                     str_text2=sprintf('\n\n\nGet Test Point');                     set(handles.text2,'String',str_text2);                 case 2                     set(handles.get_la,'Enable','on');                     set(handles.get_ra,'Enable','off');                     str_text2=sprintf('\n\n\nGet Cardinal Point LA');                     set(handles.text2,'String',str_text2);                 case 3                     set(handles.get_ra,'Enable','on');                     set(handles.get_nasion,'Enable','off');                     str_text2=sprintf('\n\n\nGet Cardinal Point RA');                     set(handles.text2,'String',str_text2);                 case 4                     set(handles.get_nasion,'Enable','on');                     set(handles.get_montage,'Enable','off');                     str_text2=sprintf('\n\n\nGet Cardinal Point NASION');                     set(handles.text2,'String',str_text2);                end                   DATA;            end        else              redigitize=0; % For all EEG Montage points             DATA(COUNTER,:)=(DATA_ORIG(COUNTER1,:)+DATA_ORIG((COUNTER1 -1),:)+DATA_ORIG((COUNTER1-2),:))/3;             switch COUNTER                   case 2                   str_la=sprintf('X = %2.3g cm\nY = %2.3g cm\nZ = %2.3g cm',DATA(2,1),DATA(2,2),DATA(2,3));                   set(handles.text_la,'String',str_la);                    case 3                    str_ra=sprintf('X = %2.3g cm\nY = %2.3g cm\nZ = %2.3g cm',DATA(3,1),DATA(3,2),DATA(3,3));                    set(handles.text_ra,'String',str_ra);                     case 4                    str_nasion=sprintf('X = %2.3g cm\nY = %2.3g cm\nZ = %2.3g cm',DATA(4,1),DATA(4,2),DATA(4,3));                    set(handles.text_nasion,'String',str_nasion);             end              handles.count=COUNTER;                if isequal(handles.count,1)                  if special_case==1                    LOC=strvcat(LOC,handles.needed_loc(strmatch_index,:));                    special_case=0;                  else                  LOC=strvcat(LOC,handles.needed_loc(COUNTER,:));                  end                elseif handles.count<size(handles.needed_loc,1)                if special_case==1                LOC=strvcat(LOC,handles.needed_loc(strmatch_index,:));                special_case=0;                else                 LOC=strvcat(LOC,handles.needed_loc(COUNTER,:));                end                elseif handles.count==size(handles.needed_loc,1)                if special_case==1                LOC=strvcat(LOC,handles.needed_loc(strmatch_index,:));                special_case=0;                else                 LOC=strvcat(LOC,handles.needed_loc(COUNTER,:));                 end                elseif special_case==3                LOC=strvcat(LOC,num2str(COUNTER+no_add));                 else                 LOC=strvcat(LOC,num2str(COUNTER));                end                handles.location=LOC;                handles.data=DATA;                if COUNTER==length(handles.needed_loc)                    str_text2=sprintf('\n\nGet Additional Points if needed');                    set(handles.text2,'String',str_text2);                end                  if handles.count>4                DATA_TRANSF(COUNTER,1:3)=[data_num(1,2:4) 1]*T*M;                handles.data=DATA_TRANSF;                end                Plotdata_x=handles.data(handles.count,1);                Plotdata_y=handles.data(handles.count,2);                Plotdata_z=handles.data(handles.count,3);                if ~isequal(handles.count,1)                    plot3(Plotdata_x,Plotdata_y,Plotdata_z,'p','Parent',handles.coordinates);                    set(handles.coordinates,'BOX','on','XGrid','on','Ygrid','on','ZGrid','on');                    hold(handles.coordinates,'on');                    xlabel(handles.coordinates,'X','Fontweight','bold');                    ylabel(handles.coordinates,'Y','Fontweight','bold');                    zlabel(handles.coordinates,'Z','Fontweight','bold');                end                COUNTER=COUNTER+1;                ResultsStr = get(handles.points,'String');                if isequal(handles.count,1)                ResultsStr = {[handles.location(handles.count,:),'   :   ',num2str(handles.data(1,1)),'   ',num2str(handles.data(1,2)),'   ',num2str(handles.data(1,3))]};                else                ResultsStr = [ResultsStr;{[handles.location(handles.count,:),'   :    ',...                num2str(handles.data(handles.count,1)),'   ',num2str(handles.data(handles.count,2)),'   ',num2str(handles.data(handles.count,3))]}];                end                   set(handles.points,'String',ResultsStr);          end    end    COUNTER1=COUNTER1+1;    handles.count=COUNTER;    handles.location=LOC;    hObject=handles.get_montage;    guidata(hObject,handles);    LOCend%--------------------------------------------------------------------------% Function to Calculate euclidean distance between digitized pointsfunction d=distance(X,Y)d=sqrt(sum((X-Y).^2));%--------------------------------------------------------------------------% --- Executes during object creation, after setting all properties.function logo_CreateFcn(hObject, eventdata, handles)% hObject    handle to logo (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    empty - handles not created until after all CreateFcns called% Hint: place code in OpeningFcn to populate logo%--------------------------------------------------------------------------

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美三级资源在线| 极品少妇一区二区三区精品视频 | 亚洲女女做受ⅹxx高潮| 国产成人av电影在线| 精品日韩在线一区| 日韩av网站免费在线| 欧美日韩一区高清| 亚洲第一福利一区| 欧美性videosxxxxx| 一二三区精品视频| 在线观看不卡视频| 亚洲国产美女搞黄色| 欧美最猛性xxxxx直播| 亚洲精品成人a在线观看| 一区二区三区视频在线看| 色哟哟欧美精品| 亚洲主播在线播放| 欧美日韩大陆在线| 天天综合日日夜夜精品| 国产一区二区福利| 成人美女视频在线观看18| 欧美日韩国产成人在线91| 首页国产丝袜综合| 欧美一区二区播放| 精品午夜久久福利影院| 久久精子c满五个校花| 国产成人一区在线| 一色桃子久久精品亚洲| 91视频免费看| 亚洲第一主播视频| 欧美一级欧美三级在线观看| 久久99精品久久久久| 懂色av噜噜一区二区三区av | 欧美专区亚洲专区| 性久久久久久久| 欧美一级精品大片| 国产精品中文有码| 亚洲欧美综合色| 欧美少妇xxx| 捆绑变态av一区二区三区| 久久久青草青青国产亚洲免观| 国产成人精品1024| 亚洲乱码日产精品bd| 欧美日韩一区二区欧美激情| 免费观看久久久4p| 中文字幕av资源一区| 色激情天天射综合网| 日韩黄色免费网站| 久久久国产一区二区三区四区小说| 成人精品国产福利| 777午夜精品免费视频| 国内精品视频666| 国产精品毛片a∨一区二区三区| 91国产精品成人| 久久精品国产亚洲aⅴ| 日本一二三四高清不卡| 在线观看亚洲精品| 蜜臀精品久久久久久蜜臀| 欧美韩国日本不卡| 欧美性xxxxx极品少妇| 激情文学综合网| 亚洲另类在线视频| 欧美一区二区三区视频在线| 成人午夜视频在线| 亚洲bt欧美bt精品| 国产目拍亚洲精品99久久精品| 91成人看片片| 国产精品影视天天线| 亚洲午夜精品一区二区三区他趣| 精品国免费一区二区三区| 一区2区3区在线看| 久久这里只有精品视频网| 在线亚洲人成电影网站色www| 麻豆成人久久精品二区三区红| 一区二区中文字幕在线| 日韩欧美在线综合网| 91麻豆国产精品久久| 久久91精品国产91久久小草| 亚洲免费观看高清在线观看| 精品久久久久久久久久久久久久久 | 国产麻豆视频一区| 亚洲愉拍自拍另类高清精品| 国产亚洲欧美日韩俺去了| 国产精品久久久久9999吃药| 欧美人体做爰大胆视频| 麻豆国产欧美一区二区三区| 亚洲婷婷在线视频| 久久影院午夜片一区| 欧美日韩一区国产| 91在线云播放| 国产在线不卡视频| 日韩精品一二三区| 亚洲私人黄色宅男| 国产亚洲一二三区| 91精品国产综合久久精品图片| 99久久精品国产一区二区三区| 精品一区二区三区视频在线观看| 精久久久久久久久久久| 一区二区三区四区视频精品免费| 日韩美女一区二区三区四区| 欧美性大战久久久| 91麻豆国产福利在线观看| 极品尤物av久久免费看| 香蕉av福利精品导航| 亚洲人成影院在线观看| 国产欧美综合色| 国产成人av资源| 久久9热精品视频| 午夜激情久久久| 中文字幕欧美一| 亚洲欧美国产高清| 一区二区三区国产精华| 亚洲综合另类小说| 香蕉成人伊视频在线观看| 久久爱另类一区二区小说| 欧美高清dvd| 91精品国产入口在线| 欧美一级黄色大片| 欧美大片日本大片免费观看| 日韩精品在线网站| 久久噜噜亚洲综合| 中文av一区二区| 一区在线中文字幕| 亚洲午夜视频在线| 午夜免费欧美电影| 久久精品国产成人一区二区三区| 精品一区二区三区在线视频| 国产精品99久| 一区二区成人在线观看| 五月综合激情网| 理论片日本一区| 国产精品一区二区不卡| 成人av资源网站| 日本道色综合久久| 7799精品视频| 久久久久久夜精品精品免费| 中文字幕乱码久久午夜不卡| 亚洲免费资源在线播放| 亚洲成av人在线观看| 久久成人久久鬼色| 国产ts人妖一区二区| 91在线一区二区| 欧美日韩小视频| 日韩精品一区二区三区在线播放| 久久久久久一二三区| 亚洲男人的天堂网| 肉色丝袜一区二区| 国产乱一区二区| 色综合一区二区三区| 欧美精品vⅰdeose4hd| 26uuu国产在线精品一区二区| 99久久精品久久久久久清纯| 欧美日韩不卡视频| 久久婷婷国产综合国色天香| 亚洲欧洲www| 亚洲欧美成人一区二区三区| 中文字幕成人在线观看| 久久久久久久一区| 亚洲免费观看在线视频| 蜜乳av一区二区| eeuss鲁片一区二区三区在线观看| 欧美性生活影院| 久久无码av三级| 亚洲午夜久久久久久久久电影院| 激情都市一区二区| 在线观看一区二区精品视频| 精品国产人成亚洲区| 一区二区在线免费| 久久99精品一区二区三区| 色噜噜狠狠成人网p站| 精品日产卡一卡二卡麻豆| 亚洲免费成人av| 狠狠色丁香九九婷婷综合五月| 色综合久久久网| 丰满亚洲少妇av| 欧美男人的天堂一二区| 国产欧美一区二区三区鸳鸯浴| 亚洲成人一区二区在线观看| 国产精品资源网| 欧美蜜桃一区二区三区| 国产精品情趣视频| 美女脱光内衣内裤视频久久网站 | 色综合中文字幕国产| 777久久久精品| 亚洲日本一区二区三区| 狠狠狠色丁香婷婷综合激情 | 国产精品麻豆欧美日韩ww| 日韩黄色一级片| 色婷婷国产精品| 国产丝袜美腿一区二区三区| 丝袜诱惑制服诱惑色一区在线观看| 成人黄色av电影| 精品国产乱码久久久久久浪潮| 亚洲国产精品久久艾草纯爱 | 一片黄亚洲嫩模| 成人激情免费视频| 精品久久久久久久久久久院品网| 亚洲高清免费观看高清完整版在线观看| 国产a视频精品免费观看| 欧美一区二区私人影院日本|