-
CMessageFilter
C-message filter implementation
- 2010-10-07 22:21:24下载
- 积分:1
-
mengte
蒙特卡洛使用程序基本源代码,提供随机变量的多种分布类型,可以直接使用。(Monte Carlo procedures for the basic source code, to provide a wide range of random variable distribution type, can be used directly.)
- 2008-08-16 09:58:02下载
- 积分:1
-
GA_framework
新的GA工具箱用于单或多目标优化,MATLAB设计(GA toolbox for single and multi-objective optimization, MATLAB design)
- 2012-09-22 12:10:45下载
- 积分:1
-
yiwei
对一维信号的核心算法分析,腐蚀膨胀源代码;(A one-dimensional signal analysis of the core algorithm
)
- 2013-11-19 09:32:42下载
- 积分:1
-
xiaochuqushixiang
一个数据预处理过程中消除多项式趋势项的程序(this is a program about eliminating polynomial trend)
- 2009-06-01 21:33:27下载
- 积分:1
-
DDA-receiver
分别给出了带卷积吗,卷积吗-RS吗,RS吗的系统误码率仿真程序( )
- 2013-04-29 15:32:17下载
- 积分:1
-
li9_23
clear all
I=imread( lena.bmp )
figure imshow(I)
I2=imrotate(I,-4, bilinear ) 逆时针旋转4度
figure imshow(I2)
I3=fliplr(I) 垂直镜像
figure imshow(I3)
I4=imresize(I,0.5, bilinear ) 缩小为原图的1/2
figure imshow(I4)
A=double(I) 转换为double类型
计算7个不变矩
[nc,nr]=size(A)
[x,y]=meshgrid(1:nr,1:nc) 得到网格
x=x(:)
y=y(:)
A=A(:)
m.m00=sum(A)
if m.m00==0
m.m00=eps
end
m.m10=sum(x.*A)
m.m01=sum(y.*A)
计算均值
xmean=m.m10/m.m00
ymean=m.m01/m.m00
计算中心矩(li9_23.rar
cm.cm00=m.m00
cm.cm02=(sum((y-ymean).^2.*A))/(m.m00^2)
cm.cm03=(sum((y-ymean).^3.*A))/(m.m00^2.5)
cm.cm11=(sum((x-xmean).*(y-ymean).*A))/(m.m00^2)
cm.cm12=(sum((x-xmean).*(y-ymean).^2.*A))/(m.m00^2.5)
cm.cm20=(sum((x-xmean).^2.*A))/(m.m00^2)
cm.cm21=(sum((x-xmean).^2.*(y-ymean).*A))/(m.m00^2.5)
cm.cm30=(sum((x-xmean).^3.*A))/(m.m00^2.5)
im(1)=cm.cm20+cm.cm02
im(2)=(cm.cm20-cm.cm02)^2+4*cm.cm11^2
im(3)=(cm.cm30-3*cm.cm12)^2+(3*cm.cm21-cm.cm03)^2
im(4)=(cm.cm30+cm.cm12)^2+(cm.cm21+cm.cm03)^2
im(5)=(cm.cm30-3*cm.cm12)*(cm.cm30+cm.cm12)...
*((cm.cm30+cm.cm12)^2-3*(cm.cm21+cm.cm03)^2)...
+(3*cm.cm21-cm.cm03)*(cm.cm21+cm.cm03)...
+(3*(cm.cm30+cm.cm12)^2-(cm.cm21+cm.cm03)^2)
im(6)=(cm.cm20-cm.cm02)*((cm.cm30+cm.cm12)^2-(cm.cm21+cm.cm03)^2)...
+4*cm.cm11*(cm.cm30+cm.cm12)*(cm.cm21+cm.cm03)
im(7)=(3*cm.cm21-cm.cm03)*(cm.cm30+cm.cm12)...
*((cm.cm30+cm.cm12)^2-3*(cm.cm21+cm.cm03)^2)...
+(3*cm.cm12-cm.cm30)*(cm.cm21+cm.cm03)...
*()
- 2010-10-17 21:53:14下载
- 积分:1
-
double-fedmachine
说明: 双馈电机数学模型,基于simulink,如果需要可以提供S函数的模型(Doubly-fed machine mathematical model, based on simulink, if necessary can provide a model S function)
- 2006-03-20 16:53:20下载
- 积分:1
-
LMI
非线性系统观测器的设计:LMI方法(论文及程序)(LMI nonlinear observer)
- 2011-12-23 16:36:22下载
- 积分:1
-
Inverted-Pendulum-master
说明: 现代控制理论实验课
matlab倒立摆仿真代码和动画演示
使用matlab的倒立摆建模和仿真设计
使用了状态反馈控制器设计闭环反馈控制系统
实现了动画演示
文档说明:(中文字符显示某些问题,后续更改,系统的simulink构建很简单,这里没有注意到)
系统分析文件夹
.m输入为加速度的情况下的开环系统.m文件
F .m输入为力开环系统的m文件
State_FeedBack_controller.m输入为加速度的闭环系统的m文件
动画演示文件夹
sys.m生成整个控制系统的s函数
pendan.m显示动画的s函数
dh.mdl最终的动画倒立摆simulink的建造(Modern control theory experiment course
Matlab inverted pendulum simulation code and animation demonstration
Modeling and simulation design of inverted pendulum using MATLAB
The closed-loop feedback control system is designed by using the state feedback controller
The animation demonstration is realized
Document description: (some problems of Chinese character display, subsequent changes, the system's Simulink construction is very simple, not noticed here)
System analysis folder
Open loop system. M file with. M input as acceleration
The input force of the open loop F.M system
State_ FeedBack_ The controller. M input is the m file of the closed loop system with acceleration
Animation folder
Sys. M generates the s function of the whole control system
Pendan. M s function for displaying animation
dh.mdl The construction of the final animation inverted pendulum simulink)
- 2021-04-12 16:28:26下载
- 积分:1