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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? ruleview.m

?? 模糊控制工具箱,很好用的,有相應(yīng)的說(shuō)明文件,希望對(duì)大家有用!
?? M
?? 第 1 頁(yè) / 共 3 頁(yè)
字號(hào):
function ruleview(action, input, figNumber);
%RULEVIEW Rule viewer and fuzzy inference diagram.
%   RULEVIEW(fis) opens the Rule Viewer, or Inference Diagram
%   Viewer, for the fuzzy inference system, fis. 
%   RULEVIEW('FILENAME') depicts the fuzzy inference 
%   diagram for the fuzzy inference system stored in file
%   FILENAME.FIS.
%
%   The Rule Viewer displays, in one screen, all parts of 
%   the fuzzy inference process from inputs to outputs. Each 
%   row of plots corresponds to one rule, and each column of 
%   plots corresponds to either an input variable (yellow, on 
%   the left) or an output variable (blue, on the right). You
%   can change the system input either by typing a specific 
%   value into the Input window or by moving the long yellow 
%   index lines that go down each input variable's column of 
%   plots.
%                                                                     
%   See also ADDRULE, MFEDIT, RULEEDIT, SURFVIEW

%   Ned Gulley, 3-30-94 Kelly Liu 4-20-97, N. Hickey 03-17-01
%   Copyright 1994-2004 The MathWorks, Inc.
%   $Revision: 1.63.2.2 $  $Date: 2004/04/10 23:15:36 $

inputColor=[1 0 0];
outputColor=[0 0 1];

if nargin<1,
    newFis=newfis('Untitled');
    newFis=addvar(newFis,'input','input1',[0 1],'init');
    newFis=addvar(newFis,'output','output1',[0 1],'init');
    action=newFis;
end

if isstr(action),
    if action(1)~='#',
        % The string "action" is not a switch for this function, 
        % so it must be a disk file
        fis=readfis(action);
        action='#initialize';
    end
else
    % For initialization, the fis matrix is passed in as the parameter
    fis=action;
    action='#initialize';
end;

if strcmp(action,'#initialize'),
    fisName=fis.name;
    numRules=length(fis.rule);
    thisfis{1}=fis;
    figNumber=figure( ...
        'Name',['Rule Viewer: ' fisName], ...
        'NumberTitle','off', ...
        'IntegerHandle','off',...
        'MenuBar','none', ...
        'Visible','off', ...
        'UserData',thisfis, ...
        'Tag','ruleview', ...
        'Color',[.9 .9 .9], ...
        'DoubleBuffer', 'on', ...
        'BackingStore','off', ...
        'DockControls', 'off');
    figPos=get(figNumber,'position');

    %====================================
    % The MENUBAR items
    % Call fisgui to create the menubar items
    fisgui #initialize

    %===================================
    % Information for all objects
    frmColor=192/255*[1 1 1];
    btnColor=192/255*[1 1 1];
    popupColor=192/255*[1 1 1];
    editColor=255/255*[1 1 1];
    border=6;
    spacing=6;
    maxRight=figPos(3);
    maxTop=figPos(4);
    btnWid=90;
    btnHt=22;

    bottom=border;
    top=bottom+2*btnHt+5*spacing;
    right=maxRight-border;
    left=border;
 
    %====================================
    % The MAIN frame
    % This frame is given a name so that it can be located later on
    % using "findobj". The UserData for this frame will contain the
    % matrix of line handles used in the callbacks.
    name='dataframe';
    frmBorder=spacing;
    frmPos=[left-frmBorder bottom-frmBorder ...
        right-left+frmBorder*2 top-bottom+frmBorder*2]+[1 0 1 0];
    frmHndl=uicontrol( ...
        'Style','frame', ...
        'Units','pixel', ...
        'Position',frmPos, ...
        'Tag',name, ...
        'BackgroundColor',frmColor);

    %====================================
    % The INPUT frame 
    top=top-spacing;
    bottom=top-btnHt;
    left=border+spacing;
    right=maxRight-border-1.5*btnWid-5*spacing;
    frmBorder=spacing;
    frmPos=[left-frmBorder bottom-frmBorder ...
        right-left-1.75*btnWid top-bottom+frmBorder*2]+[1 0 1 0];
    topFrmHndl=uicontrol( ...
        'Style','frame', ...
        'Units','pixel', ...
        'Position',frmPos, ...
        'BackgroundColor',frmColor);
    %-------numPts----------------------
    frmPos=[right-frmBorder-1.75*btnWid+.5*spacing bottom-frmBorder ...
        1.25*btnWid+1.5*spacing top-bottom+frmBorder*2]+[1 0 1 0];
    topFrmHndl=uicontrol( ...
        'Style','frame', ...
        'Units','pixel', ...
        'Position',frmPos, ...
        'BackgroundColor',frmColor);

    %------------------------------------
    % The num of points text window
    labelStr='Plot points:';
    pos1=[right-frmBorder-1.75*btnWid+spacing*1 bottom .78*btnWid btnHt];
    helpHndl=uicontrol( ...
        'Style','text', ...
        'BackgroundColor', frmColor, ...
        'HorizontalAlignment','left', ...
        'Units','pixel', ...
        'Position',pos1, ...
        'String',labelStr);
    %------------------------------------
    % The INPUT text window
    labelStr='Input:';
    pos=[left-spacing*.5 bottom btnWid/2 btnHt];
    helpHndl=uicontrol( ...
        'Style','text', ...
        'BackgroundColor',frmColor, ...
        'HorizontalAlignment','left', ...
        'Units','pixel', ...
        'Position',pos, ...
        'String',labelStr);

    %------------------------------------
    % The INPUT edit window
    callbackStr='ruleview #updateinputs';
    name='inputdisp';
    pos=[left+btnWid/2-2*spacing bottom right-left-btnWid*2.25 btnHt];
    inputDispHndl=uicontrol( ...
        'Style','edit', ...
        'BackgroundColor',editColor, ...
        'HorizontalAlignment','left', ...
        'Units','pixel', ...
        'Position',pos, ...
        'Tag',name, ...
        'Callback',callbackStr);
    %------------------------------------
    % The #points edit window
    name='numdisp';
    pos=[right-frmBorder-.85*btnWid-spacing*1 bottom .5*btnWid btnHt];
%pos1+[btnWid*.4 0 0 0];
    inputDispHndl=uicontrol( ...
        'Style','edit', ...
        'BackgroundColor',editColor, ...
        'HorizontalAlignment','left', ...
        'Units','pixel', ...
        'Position',pos, ...
        'Callback', 'ruleview #update',...
        'Tag',name);

    %====================================
    % The CLOSE/HELP frame 
    right=maxRight-border-spacing;
    left=right-2*btnWid-spacing;
    frmBorder=spacing;
    frmPos=[left-frmBorder bottom-frmBorder ...
        right-left+frmBorder*2 top-bottom+frmBorder*2]+[1 0 1 0];
    clsFrmHndl=uicontrol( ...
        'Style','frame', ...
        'Units','pixel', ...
        'Position',frmPos, ...
        'BackgroundColor',frmColor);
 
    frmPos=[left-frmBorder 7 ...
        right-left+frmBorder*2 top-bottom+frmBorder*2]+[1 0 1 0];
    clsFrmHndl=uicontrol( ...
        'Style','frame', ...
        'Units','pixel', ...
        'Position',frmPos, ...
        'BackgroundColor',frmColor);
    %------------------------------------
    % The postion text window
    pos1=[right-frmBorder-2*btnWid-spacing*.5 bottom 1.5*btnWid btnHt];
    helpHndl=uicontrol( ...
        'Style','text', ...
        'BackgroundColor',frmColor, ...
        'HorizontalAlignment','left', ...
        'Units','pixel', ...
        'Position',pos1, ...
        'String','Move:');

    %------------------------------------
    % The HELP button
    labelStr='Help';
    callbackStr='ruleview #help';
    helpHndl=uicontrol( ...
        'Style','push', ...
        'Position',[left bottom-40 btnWid btnHt], ...
        'BackgroundColor',btnColor, ...
        'String',labelStr, ...
        'Callback',callbackStr);

    %------------------------------------
    % The CLOSE button
    labelStr='Close';
    callbackStr='fisgui #close';
    closeHndl=uicontrol( ...
        'Style','push', ...
        'Position',[right-btnWid bottom-40 btnWid btnHt], ...
        'BackgroundColor',btnColor, ...
        'String',labelStr, ...
        'Callback',callbackStr);
    %------------------------------------
    % The shift horizontal button
    labelStr='left';
    callbackStr='ruleview #shiftleft';
    left=left+37;
    btnWid1= btnWid*2/5;
    closeHndl=uicontrol( ...
        'Style','push', ...
        'Position',[left 53 btnWid*2/5 btnHt], ...
        'BackgroundColor',btnColor, ...
        'String',labelStr, ...
        'Callback',callbackStr);

    % The shift horizontal button
    labelStr='right';
    callbackStr='ruleview #shiftright';
    closeHndl=uicontrol( ...
        'Style','push', ...
        'Position',[left+38 53 btnWid1 btnHt], ...
        'BackgroundColor',btnColor, ...
        'String',labelStr, ...
        'Callback',callbackStr);

    % The shift horizontal button
    labelStr='down';
    callbackStr='ruleview #shiftdown';
    closeHndl=uicontrol( ...
        'Style','push', ...
        'Position',[left+76 53 btnWid1 btnHt], ...
        'BackgroundColor',btnColor, ...
        'String',labelStr, ...
        'Callback',callbackStr);
    labelStr='up';
    callbackStr='ruleview #shiftup';
    closeHndl=uicontrol( ...
        'Style','push', ...
        'Position',[left+114 53 btnWid1 btnHt], ...
        'BackgroundColor',btnColor, ...
        'String',labelStr, ...
        'Callback',callbackStr);
%    callbackStr='ruleview #slidehori';
%    closeHndl=uicontrol( ...
%        'Style','slide', ...
%        'Position',[20 90 3*btnWid btnHt], ...
%        'Max', 2,...
%        'Min', -2,...
%        'Value', 0, ...
%        'BackgroundColor',btnColor, ...
%        'String',labelStr, ...
%        'Callback',callbackStr);


    %====================================
    bottom=border+spacing;


   % The STATUS frame 
    top=bottom+btnHt;
    right=maxRight-border-2*btnWid-5*spacing;

    left=border+spacing;
    frmBorder=spacing;
    frmPos=[left-frmBorder bottom-frmBorder ...
        right-left+frmBorder*2 top-bottom+frmBorder*2]+[1 0 1 0];
    dataFrmHndl=uicontrol( ...
        'Style','frame', ...
        'Units','pixel', ...
        'Position',frmPos, ...
        'BackgroundColor',frmColor);



    %------------------------------------
    % The STATUS text window
    labelStr=['Opened system ' fisName ', ' num2str(numRules) ' rules'];
    name='status';
    pos=[left bottom right-left btnHt];
    hndl=uicontrol( ...
        'Style','text', ...
        'BackgroundColor',frmColor, ...
        'HorizontalAlignment','left', ...
        'Units','pixel', ...
        'Position',pos, ...
        'Tag',name, ...
        'String',labelStr);

    ruleview #update

    % Normalize all coordinates
    hndlList=findobj(figNumber,'Units','pixels');
    set(hndlList,'Units','normalized');
 
    % Uncover the figure
    set(figNumber, ...
        'Visible','on', ...
        'HandleVisibility','callback');
       
elseif strcmp(action,'#update'),
    %====================================
    figNumber=watchon;
    oldfis=get(figNumber,'UserData');
    fis=oldfis{1};
    % Find and destroy all axes if they exist, since we might be updating
    % a previously existing system
    axHndlList=findobj(figNumber,'Type','axes');
    delete(axHndlList);
    set(figNumber,'Units','pixel')

    inputDispHndl=findobj(figNumber,'Type','uicontrol','Tag','inputdisp');
    set(inputDispHndl,'Enable','off');

    % First some error-checking
    if isfield(fis, 'input')
     numInputs=length(fis.input);
    else
     numInputs=0;
    end
    if isfield(fis, 'output')
     numOutputs=length(fis.output);
    else
     numOutputs=0;
    end
    if (numInputs<1) | (numOutputs<1),
        statmsg(figNumber,'Need at least one input and one output to view rules');
        watchoff(figNumber)
        return
    end
    numRules=length(fis.rule);
    if numRules<1,
        statmsg(figNumber,'Need at least one rule to view rules');
        watchoff(figNumber)
        return
    end

    border=6; 
    spacing=6;
    btnHt=22;
    figPos=get(figNumber,'Position');
    maxRight=figPos(3);
    maxTop=figPos(4);
    axColor='black';

    bottom=border;
    top=bottom+2*btnHt+5*spacing;
    right=maxRight-border;
 
    % The mainAxPos is a border that defines where the rules will be displayed
    % Getting it the right size was mostly trial and error
    mainAxPos=[border top-bottom+border*6 maxRight-border*2 maxTop-top-border*10];

    % Now build all the appropriate axes
    % For each rule, there will be as many axes as (numInputs+numOutputs)
    ruleList=getfis(fis, 'ruleList');
    numRules=size(ruleList,1);
    if isfield(fis, 'input')
     numInputs=length(fis.input);
    else
     numInputs=0;
    end
    if isfield(fis, 'output')
     numOutputs=length(fis.output);
    else
     numOutputs=0;
    end
    for i=1:numInputs
      numInputMFs(i)=length(fis.input(i).mf);
    end
    for i=1:numOutputs
      numOutputMFs(i)=length(fis.output(i).mf);
    end
    
    
    for i=1:numInputs
         inRange(i, 1:2)=fis.input(i).range;
    end

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美成人精精品一区二区频| 国精产品一区一区三区mba视频 | 国产不卡在线视频| 精品一区免费av| 免费观看一级特黄欧美大片| 日韩av网站免费在线| 日韩激情中文字幕| 日韩**一区毛片| 麻豆精品一区二区综合av| 美女爽到高潮91| 精品一区二区三区在线观看 | 国产成人免费在线观看| 国产电影精品久久禁18| 处破女av一区二区| 成人h动漫精品| 色综合久久久久综合| 欧美在线一区二区三区| 在线视频国产一区| 色综合天天综合网国产成人综合天 | 欧美精品一区二区高清在线观看| 欧美电影免费观看高清完整版在| 2020国产精品久久精品美国| 久久久亚洲精品一区二区三区| 国产蜜臀av在线一区二区三区| 国产精品国产三级国产三级人妇| 亚洲欧美电影院| 亚洲h动漫在线| 激情六月婷婷综合| www.亚洲激情.com| 欧美日韩免费不卡视频一区二区三区| 91.com视频| 久久精品在线观看| 亚洲免费观看高清完整版在线 | 国产亚洲一二三区| 亚洲欧洲成人av每日更新| 一个色综合网站| 六月丁香婷婷久久| jizzjizzjizz欧美| 欧美久久久久久久久中文字幕| 精品福利一区二区三区免费视频| 国产精品麻豆久久久| 亚洲国产wwwccc36天堂| 紧缚奴在线一区二区三区| 99国产欧美久久久精品| 69精品人人人人| 国产精品国产三级国产aⅴ中文| 亚洲一区二区三区三| 国产一区二区精品久久91| 91福利在线免费观看| 日韩一区二区免费视频| 自拍偷拍欧美激情| 精品一区二区三区在线播放| 日本韩国欧美一区二区三区| 久久综合给合久久狠狠狠97色69| 亚洲精品乱码久久久久久| 蜜臀av一区二区| 在线国产亚洲欧美| 亚洲国产高清在线观看视频| 日日夜夜精品视频免费| 91一区二区三区在线观看| 日韩欧美在线观看一区二区三区| 中文字幕一区免费在线观看 | 色激情天天射综合网| ww亚洲ww在线观看国产| 亚洲国产一区二区三区| 成人精品gif动图一区| 日韩欧美的一区二区| 亚洲风情在线资源站| 成人激情电影免费在线观看| 欧美va日韩va| 手机精品视频在线观看| 色婷婷久久久久swag精品| 国产日韩成人精品| 久久精品二区亚洲w码| 欧美在线播放高清精品| 国产精品国模大尺度视频| 国产一区在线不卡| 日韩欧美一区二区三区在线| 一区二区三区鲁丝不卡| 91亚洲资源网| 国产精品灌醉下药二区| 国产黄色成人av| 精品久久久久久最新网址| 日本亚洲天堂网| 欧美日韩国产系列| 亚洲图片一区二区| 色婷婷av久久久久久久| 1024成人网| 99这里都是精品| 国产精品欧美精品| 成人白浆超碰人人人人| 久久九九久久九九| 国产盗摄一区二区| 国产午夜亚洲精品羞羞网站| 国内成人精品2018免费看| 欧美大尺度电影在线| 蜜桃视频第一区免费观看| 91精品国产欧美一区二区18| 日韩精品亚洲一区二区三区免费| 欧美日韩精品久久久| 亚洲国产综合91精品麻豆| 欧美系列在线观看| 午夜不卡在线视频| 欧美日韩国产不卡| 亚洲国产aⅴ成人精品无吗| 在线观看一区不卡| 天天综合日日夜夜精品| 欧美二区在线观看| 日韩精品电影一区亚洲| 欧美少妇一区二区| 奇米影视一区二区三区| 日韩欧美另类在线| 国产成人亚洲综合色影视| 欧美国产日韩亚洲一区| 91香蕉视频污在线| 亚洲一区二区影院| 欧美福利一区二区| 国产专区欧美精品| 国产欧美一区二区精品性| 成人一区二区三区| 亚洲精品久久久久久国产精华液| 色悠久久久久综合欧美99| 亚洲国产成人精品视频| 日韩免费观看2025年上映的电影| 狠狠色丁香婷婷综合| 中文字幕av资源一区| 91看片淫黄大片一级在线观看| 亚洲18女电影在线观看| 日韩午夜激情视频| 国产成人aaa| 亚洲精品网站在线观看| 91精品欧美综合在线观看最新| 久久激情五月婷婷| 国产精品三级视频| 欧美日韩精品二区第二页| 激情深爱一区二区| 亚洲欧洲日韩在线| 欧美日本视频在线| 国产精品1024| 亚洲444eee在线观看| 久久久天堂av| 91黄色在线观看| 久久精品国产精品亚洲综合| 中文久久乱码一区二区| 欧美日韩一区在线| 国产主播一区二区三区| 亚洲精品大片www| 精品国产亚洲一区二区三区在线观看| 成人免费观看视频| 日韩电影在线免费看| 国产日韩v精品一区二区| 欧美亚洲国产一区二区三区 | 91女人视频在线观看| 日本大胆欧美人术艺术动态| 中文字幕乱码久久午夜不卡| 欧美精品tushy高清| 成人av动漫在线| 免费高清在线视频一区·| 成人免费一区二区三区视频| 日韩片之四级片| 欧洲色大大久久| 成人免费视频免费观看| 日本中文在线一区| 亚洲免费av网站| 国产午夜久久久久| 91精品国产色综合久久ai换脸| www.亚洲在线| 国产综合久久久久久鬼色| 亚洲一区二区三区自拍| 国产欧美日韩精品在线| 91精品国产手机| 91精彩视频在线| www.色综合.com| 国产福利91精品一区二区三区| 欧美aaaaaa午夜精品| 一区二区三区精品视频| 国产精品视频看| 久久精品欧美一区二区三区不卡 | 久久先锋影音av鲁色资源| 欧美日韩一卡二卡三卡| voyeur盗摄精品| 粉嫩嫩av羞羞动漫久久久| 国产一区二区在线观看免费| 三级影片在线观看欧美日韩一区二区| 成人免费在线视频观看| 国产日产欧美精品一区二区三区| 欧美成人免费网站| 欧美一区二区私人影院日本| 欧美视频三区在线播放| 色婷婷亚洲婷婷| 一本大道久久a久久精二百| 东方欧美亚洲色图在线| 国产综合色在线| 国产在线视视频有精品| 免费在线观看一区| 青青草国产精品亚洲专区无| 天天色天天操综合| 午夜国产不卡在线观看视频| 午夜久久电影网| 亚洲国产成人va在线观看天堂|