登录
首页 » matlab » 1234435

1234435

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

  • Ber_Sim
    matlab误码率仿真程序,跑起来非常快,效率很高。用于仿真EbN0和Ber直接的曲线。(biterror simulation using matlab.this program is very efficient.)
    2015-04-09 13:14:37下载
    积分:1
  • RSA_digital_signature
    基于MATLAB的数字签名程序算法要的都来下吧 呵呵(MATLAB-based algorithm for digital signature procedures have come to the right Ha ha under)
    2010-06-07 14:32:12下载
    积分:1
  • AR模型下的AIC模型阶数判断准则AR-aic
    AR模型下的AIC模型阶数判断准则,希望对大家有用(AR model of the AIC model order criterion, we hope to be useful)
    2020-07-24 13:58:42下载
    积分:1
  • onduleur
    an example of inverter in simulink
    2012-05-14 03:23:56下载
    积分:1
  • LBM-liquid
    matlab 模拟单相流动换热,验证可行。有很好的参靠价值意义(matlab simulation of single-phase flow and heat transfer, proven feasible. Have a good sense of the value of participation by)
    2013-11-18 10:37:06下载
    积分:1
  • my-DIAMOND
    经典的莫泰识别分析软件 diamond,在matlab平台下(diamond matlab toolbox)
    2014-01-22 19:30:12下载
    积分:1
  • matlabsignal
    信号分析与处理—MATLAB语言及应用,,介绍matlab在信号分析中的应用,,讲得不错(Signal Analysis and Processing-MATLAB language and application, introduction matlab in signal analysis applications, put it well)
    2007-11-05 19:50:32下载
    积分:1
  • SpaceTimeCodingTheoryAndPractice
    Space-Time Coding Theory and Practice
    2011-01-12 08:40:59下载
    积分:1
  • VC_and_MATLAB_Map1
    基于VC_和MATLAB混合编程绘制三维图形(VC_ and MATLAB mixed programming based on three-dimensional graphics rendering)
    2013-09-04 10:37:35下载
    积分:1
  • MATLAB7.0-learn
    适用于初学者学习matlab语言熟悉matlab开发环境,学习基本操作命令(Suitable for beginners to learn the matlab language familiar matlab development environment, to learn the basic operation command)
    2013-03-21 11:40:43下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载