-
conversion_gui
function ret = Int2Hex(var)
Prints integer array to hexadecimal string
varType = class(var)
cast signness away:
if ( u ~= varType(1) )
varType = [ u varType]
var = typecast(var,varType)
end
nBits = str2double(varType(5:end))
if (64 == nBits)
split 64 bit case into two 32 s
cuz dec2hex doesn t handle 64 bit...
varType(5:end) = 32
var = typecast(var,varType)
end
ret = dec2hex(var)
if (64 == nBits)
littleEndian = all(typecast(uint32(1), uint16 )==[1 0])
first = 1 + littleEndian
second = 2 - littleEndian
ret = [ret(first:2:end,:),ret(second:2:end,:)]
end
end
- 2010-07-30 09:39:56下载
- 积分:1
-
allmatlab
绝对经典超全少见的matlab学习资料大全,尤其清华的那本非常不错,有了这些你就成为mablab高手。(Absolute classic ultra-wide learning materials matlab rare Guinness, in particular that of the Tsinghua very well, with these you become a master mablab.)
- 2009-06-25 16:31:04下载
- 积分:1
-
matlab-
赶紧开了个借口的时间看了附件是德国获得客户(Quickly opened a time to read the attachment is an excuse to get customers in Germany)
- 2011-05-03 18:24:59下载
- 积分:1
-
dailibai
描述倒立摆的仿真图,采用模糊控制的算法和最优控制策略。(The simulation diagram describing the inverted pendulum, fuzzy control algorithm and the optimal control strategy.)
- 2014-09-29 19:16:40下载
- 积分:1
-
使用灰狼算法优化的LSSVR程序 GWO
说明: 使用灰狼算法优化的LSSVR程序,调试中(GWO optimized LSSVR program)
- 2019-12-24 14:35:42下载
- 积分:1
-
dt-cwt
说明: 能够实现双树复小波包变换,有一段仿真例子可以供大家参考(Realization of dual tree complex wavelet packet transform)
- 2020-11-03 00:19:56下载
- 积分:1
-
matlab-forPID
mtlab仿真的基于遗传算法的pid,实数编码和二进制编码(mtlab simulation based on genetic algorithms pid, real coding and binary coding)
- 2008-06-19 21:59:35下载
- 积分:1
-
financial_model_matlab
Matlab codes for financial models
- 2007-10-18 15:19:20下载
- 积分:1
-
narrow-band
该代码实现产生一个窄带随机信号,该信号的自相关函数及其功率谱图形。(The code generates a narrow-band random signal, the autocorrelation function and power spectrum graphics.)
- 2011-05-06 18:33:57下载
- 积分:1
-
AlgorithmeGenetique
Genetic Algorithm for WSN
- 2013-11-13 15:18:35下载
- 积分:1