登录
首页 » matlab » 1234435

1234435

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

  • MATLABR2008_2
    《MATLAB R2008图形与动画编程实例教程》的源代码--第二章(" MATLAB R2008 examples of graphics and animation programming tutorial" source code- Chapter II)
    2010-06-08 18:20:46下载
    积分:1
  • LINGO-in-mathematical-modeling
    LINGO和Excel在数学建模中的应用(LINGO and Excel in mathematical modeling)
    2012-05-19 23:36:45下载
    积分:1
  • PVfangzhen
    光伏电池simulink仿真,不错的simulink模型(Simulink simulation of photovoltaic cells)
    2013-03-29 19:51:58下载
    积分:1
  • F_S_K_onepath
    Matlab code for COST207
    2009-10-09 07:40:26下载
    积分:1
  • bpsk_plotiing
    MATLAB code for BPSK modulation.
    2009-11-12 01:22:43下载
    积分:1
  • mavt
    说明:  多目标决策;多属性决策;MAVT MATLAB (MADM MCDM MAVT MATLAB)
    2010-03-31 14:04:28下载
    积分:1
  • otimization-problem
    This algorithm solves the otimization problem min_x | y - A x |_2^2 + lambda Phi(x) and has applications in compressed sensing, image restoration and reconstruction, sparse regression, and several other problems.
    2020-11-22 22:29:35下载
    积分:1
  • DaKoSuballo
    Subcarrier allocation in mimo-ofdma
    2011-10-10 03:43:10下载
    积分:1
  • segmentation_code
    有效实行数据分类和图像分割的源码, 非常适合学习实用(image and data segmentation)
    2013-10-01 23:20:12下载
    积分:1
  • logic-control
    模糊逻辑控制方法,已应用到混合动力项目中,值得参考(logic control)
    2015-02-08 20:33:45下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载