登录
首页 » matlab » 1234435

1234435

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

  • src
    How to use the ordinary Voronoi partition generator. The m-files also have their own help documentation that you can view in Matlab. This code creates a bounding polygon that is a square. Then it randomly creates 10 points and then creates and draws the partition. bounds = [0, 10, 10, 0 0, 0, 10, 10] points = 10 * rand(2, 10) regions = voronoi(bounds, points) drawRegions(bounds, regions) ================================ This is a brief set of instructions on how to use the Multiplicatively- weighted Voronoi partition generator. Each of the m-files has a help section, so in Matlab you can call: help mwvoronoi help drawRegions Here is an example that creates a bounding polygon, a square with side length 10. Then it randomly creates six points with random weights. Finally, the code draws the resulting partition. bounds = [0, 10, 10, 0 0, 0, 10, 10] points = 10 * rand(3, 6) regions = mwvoronoi(bounds, points) drawRegions(bounds, regions) Enjoy!
    2013-10-30 12:23:18下载
    积分:1
  • Singlephasesuddenshortcircuitwithoutdampingwinding
    突然单相短路无阻尼绕组用matlab编程(Single-phase sudden short-circuit without damping windings)
    2009-05-02 12:27:55下载
    积分:1
  • rose
    这是一个mathematica 的画风玫瑰图的程序,程序比较系统,适用于比较专业的人士使用(This program is used to draw Rose graphic)
    2011-05-21 16:51:24下载
    积分:1
  • all_seg_correlation_fun
    用互相关法实现时延差估计,时延差是使用TDOA算法实现定位的关键步骤!!!(use cross correlation function to estimate the time delay,time difference is a very important parameter when using the TDOA algorithm to positioning!)
    2015-04-12 18:24:11下载
    积分:1
  • treestep
    针对视频的运动估计的新三步搜索法,内附源码及实验数据。(Motion estimation for video of the new three-step search method, containing source code and experimental data.)
    2010-11-23 14:57:30下载
    积分:1
  • 11
    说明:  《精通MTLAB最优化计算》第11章 整数规划 源码(&quot The most proficient MTLAB Optimization&quot Chapter 11 integer programming source code)
    2011-04-18 21:51:18下载
    积分:1
  • ofdm_lms_dqpsk
    ofdm仿真,简单的lms信道估计,用qdpsk调制(ofdm simulation, a simple lms channel estimation, using qdpsk modulation)
    2013-08-28 21:12:57下载
    积分:1
  • CameraFingerprint_1.0
    My demonstration program is coded by MATLAB. For the program, some optimization at coding level and algorithm level are proposed to improve the performance of my fingerprint recognition system. These performance enhancements are shown by experiments conducted upon a variety of fingerprint images. Also, the experiments illustrate the key issues of fingerprint recognition that are consistent with what the available literatures say.
    2013-08-15 13:51:07下载
    积分:1
  • H_Bridge_DC_PWM_Converter
    H桥DC-DCPWM变换器matlab simulink仿真模型(The H bridge the DC-DCPWM converter matlab simulink simulation model)
    2013-04-16 18:26:46下载
    积分:1
  • matlabyouhua
    内含大量关于优化问题的函数,如线性优化,整数规划,非线性规划(Contains a large number of optimization functions, such as linear optimization, integer programming, nonlinear programming)
    2011-08-22 00:20:51下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载