登录
首页 » matlab » 1234435

1234435

于 2012-10-19 发布 文件大小:27KB
0 172
下载积分: 1 下载次数: 9

代码说明:

  用matlab 7.0编写的滑模变结构仿真的例子。(S-function for continuous state equation function [sys,x0,str,ts]=s_function(t,x,u,flag) switch flag, Initialization case 0, [sys,x0,str,ts]=mdlInitializeSizes Outputs case 3, sys=mdlOutputs(t,x,u) Unhandled flags case {2, 4, 9 } sys = [] Unexpected flags otherwise error([ Unhandled flag = ,num2str(flag)]) end mdlInitializeSizes function [sys,x0,str,ts]=mdlInitializeSizes sizes = simsizes sizes.NumContStates = 0 sizes.NumDiscStates = 0 sizes.NumOutputs = 3 sizes.NumInputs = 1 sizes.DirFeedthrough = 1 sizes.NumSampleTimes = 0 sys=simsizes(sizes) x0=[] str=[] ts=[] function sys=mdlOutputs(t,x,u) x11d=sin(pi*t/2) x21d=cos(pi*t) x31d=1 sys(1)=x11d sys(2)=x21d sys(3)=x31d )

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Higher-optical-simulation-(MATLAB)
    高等光学仿真(MATLAB版)--光波导,激光试读(Higher optical simulation (MATLAB)- optical waveguides, laser probation)
    2013-03-28 13:33:13下载
    积分:1
  • Satellite-Dynamics-Toolbox
    Satellite dynamics toolbox
    2012-04-04 14:24:06下载
    积分:1
  • perkecsudut1
    deltafrek1 is example plot figure in matlab from simulink to bode using toworkspace
    2012-11-29 05:19:34下载
    积分:1
  • MATLABbiancheng
    说明:  对使用matlab编程的基础知识做了详尽的介绍。(Matlab on the use of basic knowledge of programming to do the detail.)
    2009-08-18 00:43:44下载
    积分:1
  • remote-sensing-image-correction
    用matlab写的用于遥感影像几何精校正的程序,可以进行一次,二次和三次多项式的校正(Write using matlab for remote sensing image geometric precision correction procedures can be the first, second and third order polynomial correction)
    2012-06-29 21:48:15下载
    积分:1
  • aos
    基于带有环形谐振腔的马赫增德尔干涉仪实现全光比较处理(Comparison of all-optical processing based Mach Zehnder interferometer with a ring resonator)
    2014-04-28 21:09:47下载
    积分:1
  • waveforms
    有关产生矩形浪行的matlab程序,看懂了对你帮助很大(The production line rectangular wave matlab program, read a great help to you)
    2010-06-05 01:59:34下载
    积分:1
  • MDS-MAP
    一种基于mds-map无线定位算法的仿真源代码,有助于进一步理解该算法(Mds-map based localization algorithm in wireless simulation source code, help to further understanding of the algorithm)
    2011-05-01 16:02:02下载
    积分:1
  • TP2_140203120038
    aplication using c# code
    2014-12-03 08:27:06下载
    积分:1
  • MATLAB_Programming_LMS_Adaptive_Equalizer
    一个MATLAB程序,用以实现基于最小均方误差算法的自适应均衡器,通常可以直接应用在数字通信系统中(A MATLAB program used to implement an LMS adaptive equalizer which can be directly applied in the digital communication systems)
    2010-02-07 16:18:25下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载