登录
首页 » matlab » 1234435

1234435

于 2012-10-19 发布 文件大小:27KB
0 200
下载积分: 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 个回复

  • iir3
    3阶iir滤波器设计,不采用matlab自带的滤波子程序,完全自己编写程序,可以十分方便的转化为c语言。(3-order IIR filter design, do not use built-in filtering matlab Subroutine entirely their own programming, can be transformed into a convenient c language.)
    2009-01-10 11:20:58下载
    积分:1
  • GP_baozi9
    混沌的G-P算法,利用G-P算法计算混沌时间序列的关联维数(Chaos GP algorithm, the use of GP algorithm for chaotic time series of the correlation dimension)
    2008-03-08 14:11:52下载
    积分:1
  • wavelet-leak--signal-dection
    这是基于小波的微弱信号检测,小波变化自被提出以来就到得到了广泛的应用,在此就是几个案例(This is a wavelet-based weak signal detection, wavelet changed since it was proposed to have been widely used in several cases this is)
    2013-12-12 22:54:30下载
    积分:1
  • fem
    基于matlab的有限元程序源代码,希望大家喜欢(Based on the finite element program matlab source code, I hope everyone likes)
    2008-04-18 13:48:37下载
    积分:1
  • 0-1programming
    0-1整数规划有很广泛的应用背景,比如指派问题,背包问题等等,实际上TSP问题也是一个0-1问题,当然这些问题都是NP问题,对于规模较大的问题用穷举法是没有办法在可接受的时间内求得最优解的,本程序只不过是一个练习,得意之处是用递归法把所有解都排列出来。另:胡运权所著的《运筹学基础及应用(第三版)》第97页的例3,我用本程序求解得到的结果是:最优解是x*=(1,0, 0, 0, 0),最优值是f(x*)=8,但书求得最优解是x*=(1,0, 1, 0, 0),最优值是f(x*)=4,是不是书中写错了,请大家验证。以下是源程序,大家可以任意使用无版权问题,另外,如果大家有大规模的0-1规划的问题也希望提供给我,谢谢。变量个数至少是3个(0-1 Integer Programming is a very broad background, such as assignment, bags and so on. actually TSP is a 0-1, of course, these problems are NP, for larger problem with the law is not exhaustive approach in an acceptable time frame to obtain the optimal solution. this procedure is only one practice, farewell tour is the method used recursive all of the solutions to show. Another : Hu Yun-author of "operational research, and application base (third edition)" Article 97 of the three cases, I use this procedure to solve the result is : is the optimal solution x = (1,0, 0, 0, 0), the optimal values of f (x*) = 8, but the book is to find the optimum solution x = (1,0, 1, 0, 0), the optimal values of f (x*) = 4, the book is not a mistake, please certification. Following is the source)
    2006-07-01 10:33:18下载
    积分:1
  • IIR
    IIR滤波器设计,包含切比雪夫,巴特沃兹,椭圆等滤波器matlab代码。可直接运行。(IIR filter design, including Chebyshev, Butterworth, oval filter matlab code. Can run.)
    2013-12-05 22:27:17下载
    积分:1
  • Lab-1
    Spectral analysis of discrete deterministic signals
    2013-09-23 16:55:01下载
    积分:1
  • Model-Predictive-Control
    Model Predictive Control Eduardo F. Camacho and Carlos Bordons
    2013-12-10 20:54:49下载
    积分:1
  • LMSalgorithm
    基于MMSE算法的自适应均衡LMS算法仿真,采用AR模型(MMSE algorithm based on LMS adaptive equalization algorithm simulation, the use of AR model)
    2021-03-24 08:39:15下载
    积分:1
  • asymotor
    三相异步电机的矢量控制的模型,希望对大家有所帮助(Vector control,hope that)
    2013-07-17 09:45:33下载
    积分:1
  • 696516资源总数
  • 106430会员总数
  • 0今日下载