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

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

?? ms_spun_qconvert.asv

?? cdma2000的系統建模及實現 包括信源編碼
?? ASV
字號:
function [sys,x0,str,ts] = MS_SPUN_QConvert(t,x,u,flag)
%SFUNTMPL General M-file S-function template
%   With M-file S-functions, you can define you own ordinary differential
%   equations (ODEs), discrete system equations, and/or just about
%   any type of algorithm to be used within a Simulink block diagram.
%
%   The general form of an M-File S-function syntax is:
%       [SYS,X0,STR,TS] = SFUNC(T,X,U,FLAG,P1,...,Pn)
%
%   What is returned by SFUNC at a given point in time, T, depends on the
%   value of the FLAG, the current state vector, X, and the current
%   input vector, U.
%
%   FLAG   RESULT             DESCRIPTION
%   -----  ------             --------------------------------------------
%   0      [SIZES,X0,STR,TS]  Initialization, return system sizes in SYS,
%                             initial state in X0, state ordering strings
%                             in STR, and sample times in TS.
%   1      DX                 Return continuous state derivatives in SYS.
%   2      DS                 Update discrete states SYS = X(n+1)
%   3      Y                  Return outputs in SYS.
%   4      TNEXT              Return next time hit for variable step sample
%                             time in SYS.
%   5                         Reserved for future (root finding).
%   9      []                 Termination, perform any cleanup SYS=[].
%
%
%   The state vectors, X and X0 consists of continuous states followed
%   by discrete states.
%
%   Optional parameters, P1,...,Pn can be provided to the S-function and
%   used during any FLAG operation.
%
%   When SFUNC is called with FLAG = 0, the following information
%   should be returned:
%
%      SYS(1) = Number of continuous states.
%      SYS(2) = Number of discrete states.
%      SYS(3) = Number of outputs.
%      SYS(4) = Number of inputs.
%               Any of the first four elements in SYS can be specified
%               as -1 indicating that they are dynamically sized. The
%               actual length for all other flags will be equal to the
%               length of the input, U.
%      SYS(5) = Reserved for root finding. Must be zero.
%      SYS(6) = Direct feedthrough flag (1=yes, 0=no). The s-function
%               has direct feedthrough if U is used during the FLAG=3
%               call. Setting this to 0 is akin to making a promise that
%               U will not be used during FLAG=3. If you break the promise
%               then unpredictable results will occur.
%      SYS(7) = Number of sample times. This is the number of rows in TS.
%
%
%      X0     = Initial state conditions or [] if no states.
%
%      STR    = State ordering strings which is generally specified as [].
%
%      TS     = An m-by-2 matrix containing the sample time
%               (period, offset) information. Where m = number of sample
%               times. The ordering of the sample times must be:
%
%               TS = [0      0,      : Continuous sample time.
%                     0      1,      : Continuous, but fixed in minor step
%                                      sample time.
%                     PERIOD OFFSET, : Discrete sample time where
%                                      PERIOD > 0 & OFFSET < PERIOD.
%                     -2     0];     : Variable step discrete sample time
%                                      where FLAG=4 is used to get time of
%                                      next hit.
%
%               There can be more than one sample time providing
%               they are ordered such that they are monotonically
%               increasing. Only the needed sample times should be
%               specified in TS. When specifying than one
%               sample time, you must check for sample hits explicitly by
%               seeing if
%                  abs(round((T-OFFSET)/PERIOD) - (T-OFFSET)/PERIOD)
%               is within a specified tolerance, generally 1e-8. This
%               tolerance is dependent upon your model's sampling times
%               and simulation time.
%
%               You can also specify that the sample time of the S-function
%               is inherited from the driving block. For functions which
%               change during minor steps, this is done by
%               specifying SYS(7) = 1 and TS = [-1 0]. For functions which
%               are held during minor steps, this is done by specifying
%               SYS(7) = 1 and TS = [-1 1].

%   Copyright 1990-2002 The MathWorks, Inc.
%   $Revision: 1.18 $

%
% The following outlines the general structure of an S-function.
%
switch flag,

  %%%%%%%%%%%%%%%%%%
  % Initialization %
  %%%%%%%%%%%%%%%%%%
  case 0,
    [sys,x0,str,ts]=mdlInitializeSizes;

  %%%%%%%%%%%%%%%
  % Derivatives %
  %%%%%%%%%%%%%%%


  %%%%%%%%%%
  % Update %
  %%%%%%%%%%
  case 2,
    sys=mdlUpdate(t,x,u);

  %%%%%%%%%%%
  % Outputs %
  %%%%%%%%%%%
  case 3,
    sys=mdlOutputs(t,x,u);

  %%%%%%%%%%%%%%%%%%%%%%%
  % GetTimeOfNextVarHit %
  %%%%%%%%%%%%%%%%%%%%%%%
  case {1,4,9}
    sys=[];
  %%%%%%%%%%%%%
  % Terminate %
  %%%%%%%%%%%%%


  %%%%%%%%%%%%%%%%%%%%
  % Unexpected flags %
  %%%%%%%%%%%%%%%%%%%%
  otherwise
    error(['Unhandled flag = ',num2str(flag)]);

end

% end sfuntmpl

%
%=============================================================================
% mdlInitializeSizes
% Return the sizes, initial conditions, and sample times for the S-function.
%=============================================================================
%
function [sys,x0,str,ts]=mdlInitializeSizes

%
% call simsizes for a sizes structure, fill it in and convert it to a
% sizes array.
%
% Note that in this example, the values are hard coded.  This is not a
% recommended practice as the characteristics of the block are typically
% defined by the S-function parameters.
%
sizes = simsizes;

sizes.NumContStates  = 0;
sizes.NumDiscStates  = 2;
sizes.NumOutputs     = 1;
sizes.NumInputs      = 1;
sizes.DirFeedthrough = 1;
sizes.NumSampleTimes = 1;   % at least one sample time is needed

sys = simsizes(sizes);

%
% initialize the initial conditions
%
x0  = [0 0];

%
% str is always an empty matrix
%
str = [];

%
% initialize the array of sample times
%
ts  = [-1 0];

% end mdlInitializeSizes

%
%=============================================================================
% mdlDerivatives
% Return the derivatives for the continuous states.
%=============================================================================
%


%
%=============================================================================
% mdlUpdate
% Handle discrete state updates, sample time hits, and major time step
% requirements.
%=============================================================================
%
function sys=mdlUpdate(t,x,u)

if x(1)==0
    x(2)=-1*u;
    x(1)=1;
else
    x(1)=0;
end
sys=x;


% end mdlUpdate

%
%=============================================================================
% mdlOutputs
% Return the block outputs.
%=============================================================================
%
function sys=mdlOutputs(t,x,u)

if x(1)==0
    sys=u;
else
sys = [];

% end mdlOutputs

%
%=============================================================================
% mdlGetTimeOfNextVarHit
% Return the time of the next hit for this block.  Note that the result is
% absolute time.  Note that this function is only used when you specify a
% variable discrete-time sample time [-2 0] in the sample time array in
% mdlInitializeSizes.
%=============================================================================
%
function sys=mdlGetTimeOfNextVarHit(t,x,u)

sampleTime = 1;    %  Example, set the next hit to be one second later.
sys = t + sampleTime;

% end mdlGetTimeOfNextVarHit

%
%=============================================================================
% mdlTerminate
% Perform any end of simulation tasks.
%=============================================================================
%
function sys=mdlTerminate(t,x,u)

sys = [];

% end mdlTerminate

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久蜜臀中文字幕| youjizz久久| 日韩亚洲国产中文字幕欧美| 日韩精品一卡二卡三卡四卡无卡 | 久草热8精品视频在线观看| 91精品国产免费| 国产伦精品一区二区三区在线观看| 精品国产人成亚洲区| 国产一区二区不卡在线| 亚洲国产精品v| 欧洲人成人精品| 免费不卡在线视频| 欧美激情一区二区三区全黄| 色久优优欧美色久优优| 日日欢夜夜爽一区| 久久久久亚洲综合| 91色porny| 九九九久久久精品| 自拍偷拍国产精品| 欧美一区日韩一区| 成人黄色网址在线观看| 亚洲成精国产精品女| 久久奇米777| 欧美在线你懂的| 国产乱人伦精品一区二区在线观看| 成人免费一区二区三区视频 | 欧美一区二区三区免费大片| 狠狠色丁香九九婷婷综合五月| 国产精品视频你懂的| 欧美日韩成人在线一区| 国产成人福利片| 亚洲国产毛片aaaaa无费看| 亚洲精品一区二区三区蜜桃下载| 91久久一区二区| 国产永久精品大片wwwapp| 亚洲综合一区二区三区| 久久久久久久综合狠狠综合| 欧美三级一区二区| 粉嫩av一区二区三区在线播放| 五月婷婷欧美视频| 国产精品夫妻自拍| 精品999久久久| 欧美在线一区二区| 懂色av一区二区三区蜜臀| 日日摸夜夜添夜夜添亚洲女人| 国产免费久久精品| 日韩欧美亚洲国产另类| 欧美在线三级电影| 成人av在线网| 国产在线国偷精品产拍免费yy| 亚洲国产视频一区二区| 国产精品乱码妇女bbbb| 精品国产污污免费网站入口| 欧美日韩一区视频| 色悠悠久久综合| av在线不卡免费看| 国产福利一区二区| 免费成人小视频| 亚洲丶国产丶欧美一区二区三区| 亚洲视频你懂的| 欧美极品xxx| 久久精品亚洲精品国产欧美| 日韩美女一区二区三区| 6080午夜不卡| 欧美久久久久免费| 在线观看精品一区| 91成人看片片| 在线视频中文字幕一区二区| 一本久久综合亚洲鲁鲁五月天| www.亚洲在线| 国产成人综合亚洲91猫咪| 韩国欧美一区二区| 另类小说图片综合网| 奇米色777欧美一区二区| 三级久久三级久久久| 调教+趴+乳夹+国产+精品| 亚洲国产精品一区二区www在线 | 亚洲大片在线观看| 午夜精品久久久久久久99水蜜桃| 婷婷国产v国产偷v亚洲高清| 日韩精品久久理论片| 日韩av一级片| 蜜桃一区二区三区四区| 美女网站在线免费欧美精品| 久久超碰97中文字幕| 国产一区二区主播在线| 国产成人av电影在线| 成人激情开心网| 一本久久a久久精品亚洲| 欧美三级电影精品| 欧美一区二区高清| 精品福利av导航| 欧美韩国一区二区| 亚洲日本一区二区| 久久99精品久久只有精品| 久久久午夜精品| 国产精品免费av| 亚洲精品中文在线观看| 亚洲成人激情av| 久久精品噜噜噜成人88aⅴ| 狠狠色伊人亚洲综合成人| 丁香网亚洲国际| 色噜噜久久综合| 欧美一三区三区四区免费在线看| 精品国产在天天线2019| 国产欧美日韩在线观看| 亚洲精品视频免费看| 日本免费新一区视频| 国产高清精品网站| 在线观看欧美日本| 欧美成人video| 亚洲视频你懂的| 美女视频黄频大全不卡视频在线播放| 国产精品系列在线播放| 91丨九色丨尤物| 日韩三级视频在线看| 中文字幕在线观看不卡视频| 日韩激情视频在线观看| 成人丝袜18视频在线观看| 精品1区2区3区| 国产清纯美女被跳蛋高潮一区二区久久w| 亚洲女人****多毛耸耸8| 理论电影国产精品| 92国产精品观看| 欧美刺激午夜性久久久久久久| 中文字幕一区二区三中文字幕| 亚洲国产成人精品视频| 粉嫩在线一区二区三区视频| 91 com成人网| 一区二区三区四区不卡视频| 国产美女精品一区二区三区| 欧美日韩中文字幕一区二区| 久久精品一级爱片| 日韩激情在线观看| 色综合亚洲欧洲| 国产亚洲一二三区| 秋霞国产午夜精品免费视频| 一本高清dvd不卡在线观看| 久久久久久一二三区| 男男成人高潮片免费网站| 在线免费精品视频| 国产精品美女久久福利网站| 久久99国产精品久久| 欧美日韩一区不卡| 亚洲欧洲综合另类| 成人精品国产一区二区4080| 精品日韩欧美一区二区| 肉色丝袜一区二区| 欧美日韩一区二区三区视频| 亚洲精品水蜜桃| 97精品国产97久久久久久久久久久久| 精品久久久久一区二区国产| 蜜臀av国产精品久久久久| 欧美日韩国产高清一区| 亚洲一区成人在线| 色综合久久天天| 1000部国产精品成人观看| 成av人片一区二区| 欧美人xxxx| av在线不卡网| 日本一区二区三区免费乱视频| 久久超碰97中文字幕| 日韩视频一区在线观看| 天堂久久久久va久久久久| 欧美日韩久久久久久| 亚洲va韩国va欧美va| 欧美日韩免费在线视频| 亚洲不卡av一区二区三区| 欧美日韩三级视频| 首页国产欧美日韩丝袜| 这里只有精品99re| 蜜桃久久久久久| 精品国产乱码久久久久久闺蜜 | 欧美大胆人体bbbb| 美女视频第一区二区三区免费观看网站 | 国产精品热久久久久夜色精品三区 | 日本欧美韩国一区三区| 日韩欧美一区二区三区在线| 麻豆成人久久精品二区三区小说| 91精品国产色综合久久ai换脸 | 国产一区二区0| 国产精品网站导航| 成人av影院在线| 亚洲在线一区二区三区| 欧美日韩亚州综合| 久久精品国产77777蜜臀| 久久日一线二线三线suv| 国产黄色91视频| 亚洲丝袜美腿综合| 91久久精品一区二区三区| 五月天视频一区| 久久一留热品黄| 99麻豆久久久国产精品免费| 亚洲图片一区二区| 精品久久久网站| 91在线视频免费观看| 亚洲成人激情自拍| 久久久久国产精品麻豆ai换脸| 色8久久人人97超碰香蕉987| 日本成人在线视频网站|