-
Simulink block to mpcsimulink
a Simulink block to use the state space MPC code is developed. Two examples to work with continous-time state space plant model and discrete-time state space plant model are included.
- 2020-07-04 05:40:01下载
- 积分:1
-
ECGExtractionPackage
利用MATLAB 提取ECG 波形数据,从图像中采集心电波形非常有用。(extracting ECG data from images)
- 2013-12-03 21:53:23下载
- 积分:1
-
Buck_PWM
buck pwm dc-dc chopper for many usage.
- 2014-02-07 21:48:15下载
- 积分:1
-
DateConvert
DateConvert:简单而快速的日期转换
DateConvert转换DATESTR(0)格式的日期向量或序列号和日期向后。
Matlab的DATENUM,DATEVEC和DATESTR接受各种不同意见,但结果他们是缓慢的。如果输入格式正是众所周知,转换可以更快:
DATENUM( 17 - 10 - 2009 11时08分23秒 ):2.97秒
DateConvert( 17 - 10 - 2009 11时08分23秒 , 号码 ):0.039秒
=>“1.3%(1000环,1.5GHz的奔腾- M的,利用Matlab 7.7)
DateConvert不*不*验证作为Matlab的日期函数输入日期:
DATEVEC( 32 - 2 - 2008 25:62:63 )的答复[2008 3 4 2 2 7]
DateConvert( 32 - 2 - 2008 25:61:67 , 载体 )的答复[2008 2 32 25 61 67]!
因此DateConvert几乎微不足道,但对速度进行了优化。我需要时间排序200 000邮票,并从217个减少到11秒的时间。
请运行单元测试TestDateVec检查的有效性和速度。
测试:利用Matlab 6.5,7.7,7.8,winxp的,32位。
纯Matlab代码,所以兼容性的MacOS,Linux操作系统,64位预期。
英语月份名称是必要的。(DateConvert: Simple but fast date conversion
DateConvert converts the DATESTR(0) format to a date vector or serial date number and backwards.
Matlab s DATENUM, DATEVEC and DATESTR accept a variety of inputs, but in consequence they are slow. If the input format is exactly known, the conversion can be much faster:
DATENUM( 17-Oct-2009 11:08:23 ): 2.97 sec
DateConvert( 17-Oct-2009 11:08:23 , number ): 0.039 sec
=> 1.3 (1000 loops, 1.5GHz Pentium-M, Matlab 7.7)
DateConvert does*not* validate the input date as Matlab s date functions:
DATEVEC( 32-Feb-2008 25:62:63 ) replies [2008 3 4 2 2 7],
DateConvert( 32-Feb-2008 25:61:67 , vector ) replies [2008 2 32 25 61 67] !
So DateConvert is nearly trivial, but optimized for speed. I needed it for sorting 200 000 time stamps and reduced the time from 217 to 11 sec.
Please run the unit-test TestDateVec to check validity and speed.
Tested: Matlab 6.5, 7.7, 7.8, WinXP, 32bit.
Pure Matlab code, so compat)
- 2010-07-05 11:59:46下载
- 积分:1
-
LQRyuPID
从倒立摆的数学模型入手,对比了lqr控制器和pid控制器的设计和仿真(From the mathematical model of the inverted pendulum to start, compared to the design and simulation controllers and pid controller lqr)
- 2013-11-25 13:16:08下载
- 积分:1
-
vector
This file includes vector controlled ı nductı on motor drive mdl.
- 2014-02-24 22:55:33下载
- 积分:1
-
NoiseSubstraction
Noise Estimation of speech signals in Matlab
- 2012-06-10 21:52:20下载
- 积分:1
-
002
Kalman filter extended for gps ins applications
- 2013-08-16 19:17:28下载
- 积分:1
-
p4_1
说明: 输入一个数判定能否开平方,能就开平方,不能就退出(Enter a few decide whether to open the square, to the open square, can not quit)
- 2010-04-11 18:28:32下载
- 积分:1
-
applicationoffractal
this document about application of fractal
- 2012-04-02 20:30:09下载
- 积分:1