-
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
-
SAtlbx
说明: 模拟退火工具箱,程序主体和子函数含大量注解内容,非常适合学习者了解该算法的结构。
(Simulated Annealing toolbox, procedures and Functions with the main contents of a large number of comments, very suitable for learners to understand the structure of the algorithm.)
- 2008-11-14 16:38:35下载
- 积分:1
-
import
Updates import imp current state to provided state value Helper function.
- 2014-09-11 23:26:49下载
- 积分:1
-
matlab4
MATLAB CODE FOR STEGO IMAGE HIDING
- 2014-10-14 14:16:01下载
- 积分:1
-
piddata
包含pid控制器的一些程序,能够生成有故障或无故障数据,为一些相应matlab仿真提供数据(we can use it to produce pid-data)
- 2010-07-01 10:23:18下载
- 积分:1
-
jakes_filter
Jakes filter in fir implementation
- 2009-06-17 00:03:30下载
- 积分:1
-
powerworld-50
50节点的pwoerwrold的示例,可以为从事电力系统潮流计算分析的同学们提供帮助。(power sysetm 50bus in powerwordl)
- 2020-07-03 02:20:02下载
- 积分:1
-
Singlephasesuddenshortcircuitwithoutdampingwinding
突然单相短路无阻尼绕组用matlab编程(Single-phase sudden short-circuit without damping windings)
- 2009-05-02 12:27:55下载
- 积分:1
-
denggaoxian
根据给出的地理位置三维坐标画出等高线图的程序(Draw a contour map of the program according to the location given three-dimensional coordinates)
- 2012-06-22 11:40:50下载
- 积分:1
-
calcLocalizationCRB
主要用于实现基于TOA/AOA/RSS/QRSS的二维定位算法,用matlab程序实现,内附有注释(Mainly used to implement based on TOA/AOA/RSS/QRSS two-dimensional positioning algorithm, using matlab program, enclosing a Comment)
- 2013-11-18 23:11:05下载
- 积分:1