登录
首页 » Matlab » T-S模糊控制

T-S模糊控制

于 2022-09-28 发布 文件大小:2.33 kB
0 94
下载积分: 2 下载次数: 3

代码说明:

clear;close all;  %----------------设定计算步数和精度----------------%  step=1000;            %步数  err=0.00001;          %精度  eps1=0.001;  %----------------数据生成----------------%  k0=0:step+1;  %u=sin(2*pi.*k0/step*10);  u=rand(1,step+2)*2-1;  y=zeros(1,step+2);  y(1)=0;  y(2)=0;  for t=1:step      y(t+2)=y(t+1)*y(t)*(y(t+1)-2.5)/(1+y(t+1)*y(t+1)+y(t)*y(t))+u(t+1);  end  %----------------绘制输入及输出信号波形----------------%  figure(1);  plot(y(3:step+2),"r");  hold;  plot(u(2:step+1),"g");%pause  legend("输出y","输入u");  %----------------初始化隶属函数----------------%  c=[-4,-3,-2,-1,0,1];  U=zeros(6,step+2);  for t=1:step+2      if(y(t)

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

发表评论

0 个回复

  • rscore
    利用matlab实现归一化处理,可用处理大量数据(Using matlab to achieve normalization processing, handling large amounts of data available)
    2013-09-09 16:54:34下载
    积分:1
  • MatchFilterLFM
    高分辨率雷达 距离向压缩算法滤波器设计 三种方法 全面设计(clc clear all close all 2013年9月28日 ---------------参数---------- Tr=42e-6 fs=9.5e6 K=0.7e11 Nfft=2048 -------------匹配滤波 时域生成-------------- t=(-Tr/2+1/fs:1/fs:Tr/2-1/fs) w = kaiser(length(t),2.5) w=w w = ones(1,length(t)) ht1=w.*exp(-1i*pi*K*t.^2) ht2=w.*exp(1i*pi*K*t.^2) hf1=fft(ht1,Nfft) hf2=fft(ht2,Nfft) figure subplot(211) plot(abs(hf1)) title( 匹配滤波器1 幅频响应 ) subplot(212) plot(phase(hf1)) title( 匹配滤波器1 相位 ) figure subplot(211) plot(abs(hf2)) title( 匹配滤波器2 幅频响应 ) )
    2013-10-12 22:32:06下载
    积分:1
  • RandDisplay-some-wooden-
    在不同位置以不同角度显示 有木有 的MATLAB 程序(In different locations to different angles to show some wooden MATLAB program)
    2012-02-09 13:22:22下载
    积分:1
  • 好用的多抽样率信号处理源码
    具有丰富的参数选项,感应双馈发电机系统的仿真,仿真效率很高的,实现了对10个数字音的识别程序从先验概率中采样,计算权重,复化三点Gauss-lengend公式求pi。
    2022-07-20 09:15:48下载
    积分:1
  • els1
    用增广最小二乘法进行单输入单输出系统的参数辨识,输入采用幅度为1的4阶伪随机序列(Extended least squares method parameters identification of single-input single-output system, enter using the amplitude of a 4-order pseudo-random sequence)
    2012-06-23 21:11:36下载
    积分:1
  • PUS
    这是对6—PUS并联机器人的运动学仿真及运动轨迹跟踪(This is the kinematics simulation and trajectory tracking of the 6-PUS parallel manipulato)
    2016-12-06 22:28:27下载
    积分:1
  • 基于kalman滤波器的信息融合 用MATLAB应用举例实现
    基于kalman滤波器的信息融合 用MATLAB应用举例实现-Based on the information fusion kalman filter application using MATLAB, for example to achieve
    2022-08-23 12:12:03下载
    积分:1
  • HHT_Matlab
    HHT三种源代码:1 法国G.Rilling 2 台湾中央大学 3 matlab交换中心(HHT three sources: 1 France G. Rilling 2 Taiwan Central University 3 matlab switching center)
    2010-12-09 14:06:13下载
    积分:1
  • exit
    EXIT图,外信息转移图,对做迭代分析的非常有帮助。(EXIT chart, extrinsic information transfer chart, right to do iterative analysis very helpful.)
    2009-11-15 21:17:14下载
    积分:1
  • fltk-1.1.10-source
    FLKT是C++之父写的教材中用到的GUI库。(FLTK (pronounced "fulltick") is a cross-platform C++ GUI toolkit for UNIX® /Linux® (X11), Microsoft® Windows® , and MacOS® X. FLTK provides modern GUI functionality without the bloat and supports 3D graphics via OpenGL® and its built-in GLUT emulation. FLTK is designed to be small and modular enough to be statically linked, but works fine as a shared library. FLTK also includes an excellent UI builder called FLUID that can be used to create applications in minutes. FLTK is provided under the terms of the GNU Library Public License, Version 2 with exceptions that allow for static linking. )
    2011-02-06 12:03:17下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载