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

T-S模糊控制

于 2022-09-28 发布 文件大小:2.33 kB
0 89
下载积分: 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 个回复

  • SEMtuxiangchuli
    说明:  处理SEM图像的通用程序,包括读图、二值化、滤波、边界提取(A general program dealing with the general program the image of SEM, including Picture stories, binarization, filtering, boundary extraction)
    2011-03-29 20:13:22下载
    积分:1
  • equationoflightstream
    数字视频处理光流方程的实现,并绘制运动场,统计直方图,mesh图,并进行运动分割(Digital video processing to achieve the optical flow equation, and draw the playground, the histogram, the mesh in Figure, and motion segmentation)
    2012-05-29 16:17:07下载
    积分:1
  • MATLABanalogalgorithm
    一个matlab里面的基本操作的演示程序(Matlab basic operation inside a demonstration program)
    2010-11-16 09:45:22下载
    积分:1
  • TV
    说明:  TV模型源代码 图像去噪中经典模型 在MATLAB下编出来的(TV model source code in the classical model of image denoising under the code out in MATLAB)
    2011-03-09 16:35:13下载
    积分:1
  • three_lever_inverter
    本例程是三电平故障诊断仿真,通过观察输出波形来判断哪个开关管有损坏,是什么损坏(This Simulation files is a three-level fault diagnosis simulation, by observing the output waveform to determine which switch is damaged, what damage is)
    2021-01-06 15:28:54下载
    积分:1
  • railroad-rush-hour
    实现火车的调度,即将无需的乱的火车,重新调度成有序的(Realization train scheduling, without the chaos of the train is about to re-scheduled to orderly)
    2014-12-09 19:44:18下载
    积分:1
  • enhancement
    自己编的pal-King增强算法的代码和基于模糊熵的增强算法代码(Own series pal-King Enhanced the algorithm code based on fuzzy entropy enhancement algorithm code)
    2012-10-18 15:42:18下载
    积分:1
  • 5G_NR_Simulations-master
    5G NR Physical Layer components
    2020-09-15 09:37:57下载
    积分:1
  • 图论算法及其MATLAB实现
    本书系统介绍了图论重要算法的思想及其 MATLAB实现,可供数学、计算机科学、工程科学等学科中相关专业的大学生、研究生阅读,也可供相关专 业研究人员参考。(This book systematically introduces the idea of the important algorithm of graph theory and its MATLAB implementation, which can be read by college students and graduate students majoring in mathematics, computer science, engineering science and other disciplines, and can also be referred to by researchers specializing in related fields.)
    2018-11-28 21:50:46下载
    积分:1
  • matlabjingdiansuanfa
    说明:  matlab的一些经典算法 (Some of the classic algorithm matlab)
    2008-11-12 18:58:29下载
    积分:1
  • 696518资源总数
  • 106227会员总数
  • 11今日下载