-
caishuyouxi
首先由计算机产生[1,100]之间的随机整数,然后由用户猜测所产生的随机数。根据用户猜测的情况给出不同提示,如猜测的数大于产生的数,则显示“High”,小于则显示“Low”,等于则显示“You won”,同时退出游戏。用户最多可以猜7次。(First produced by the computer [1100] between a random integer, then by the user to guess generated random numbers. According to the user guesses are different tips, such as guess the number is greater than the number, then displays " High"," Low", smaller than the display to show " You won", at the same time to quit the game. The user can have up to7 guess.)
- 2012-05-16 20:33:04下载
- 积分:1
-
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
-
runica
说明: 这是一种新的ICA算法,可以解决实际中的问题(This is a new ICA algorithm can solve practical problems in)
- 2010-04-21 20:56:33下载
- 积分:1
-
assignmentsolution
OFDM Synchronization tutorial
- 2009-11-06 18:23:39下载
- 积分:1
-
WFA
一个简单的程序,药物数据主成份分析,采用常见方法(err)
- 2008-04-24 12:14:23下载
- 积分:1
-
zuoye
说明: 关于信号输入均匀量化器的信号幅度,用MATLAB实现量化过程(Uniform quantizer on the input signal amplitude, using MATLAB to quantify the process of achieving)
- 2011-04-14 19:41:40下载
- 积分:1
-
EMDs_Matlab
该程序用Matlab实现hilbert-huang变换,含EMD,HHT,边际谱等,有一些实例,较完善。(The program uses Matlab to achieve hilbert-huang transform, including EMD, HHT, the marginal spectra, there are some instances better.)
- 2010-05-29 15:57:53下载
- 积分:1
-
hunhebiancheng_123
matlab与CC++混合编程程序,可以参考下,适合初学者(matlab and C C++ mixed programming program, you can refer to, for beginners)
- 2013-07-12 12:27:54下载
- 积分:1
-
MditonglvboA
MATLAB低通滤波程序,很好的源代码,希望对大家家有用-filter ,
(MATLAB low pass filtering process, a good source code, I hope useful for all of us home-filter)
- 2012-08-23 22:28:11下载
- 积分:1
-
dsbdem
说明: 详尽的抑制载波双边带调制解调程序,有详细的注释说明(Detailed bilateral with carrier suppression modulation and demodulation process, detailed notes)
- 2009-07-29 15:13:40下载
- 积分:1