搜索资源列表
test
- 输入二进制整数表示的小数,输出十进制小数-input fraction in mode binary,output fraction in mode decimal
test
- 如果给出一个二进制纯整数,就可以求出十进制整数-if input a integer in binary,you can get a integer in decimal。
youchengbianjiema
- 游程编码 输入一个一维数组,会将其内容进行编码,编码程序中包含十进制与二进制之间的相互转换。解码为其逆过程-RLE enter a one-dimensional array, its contents will be encoded, encoding process includes the interaction between decimal and binary conversion. Decode its reverse process
The-number-of-conversion
- 罗列了二进制、八进制、十进制与十六进制的特征及它们之间的转换。-Listing the binary, octal, decimal and hexadecimal characteristics and the conversion between them.
dec2bin22
- 实现十进制负数求二进制的补码,方便广大学者实现视频或图像加解密过程中用到异或加密-Seeking to achieve a negative decimal binary complement, facilitate the realization of the majority of scholars, video or images used in encryption and decryption process XOR encryption
calculator
- 仿系统计算器--仿照系统计算机实现,实现表达式运算,二进制,十进制同步显示,位计算,数学函数多种计算-Imitation system calculator- modeled on the system computer to achieve, to achieve expression operators, binary, decimal display synchronization, bit computing, a variety of computing mathematical fu
genetic-algorithm
- 自然计算中遗传算法的各个程序,matlab环境下开发的源代码。best.m 求种群中适应度最大的值 calfitvalue.m 计算每个个体的适应度 calobjvalue.m 适应度函数 crossover.m 交叉变换 decodebinary.m 将二进制数转换成十进制数 decodechrom.m 将二进制数转换成十进制数 initpop.m 产生初始种群 mutation.m 变异 selection.m 选择合适的个体进行复制 main.m 主函数
matlab_for_CRC
- 用MATLAB随机产生12000个均匀分布的随机数,先转换成二进制数,计算CRC,然后再转成十进制数,统计冲突结果。-Generate 12000 random number,then calculate the CRC and the result.
555555
- 进制数制是人们利用符号进行计数的科学方法。数制有很多种,在计算机中常用的数制有:十进制,二进制、八进制和十六进制。十六进制数有两个基本特点:它由十六个字符0~9以及A,B,C,D,E,F组成(它们分别表示十进制数0~15),十六进制数运算规律是逢十六进一,例如:十六进制数4AC8可写成(4AC8)16,或写成4AC8H。 要求: -Binary number system is that people use scientific methods of counting symbols
decod
- 利用遗传算法求解函数极值, 主程序是对函数f(x,y)=x2+y2(-1<x<1,-1<y<1)求解最小值。decod.m 为子函数,实现二进制编码到十进制数的转换功能-Use of genetic algorithm for function extremum, the main program is the minimum value of the function f (x, y) = x2+ y2 (-1 <x <1,-1 <y <1) s
fdec2bin_diy
- 把输入的十进制小数,转换为二进制。输入的十进制区分正负数-no descr iption
bin2fdec_diy
- function [fdec_out] = bin2fdec_diy(indata,q1,q0) 把输入二进制小数,转化为十进制小数 输入的二进制最高位为0,表示输入的二进制数为正数,反之为负数 indata: 输入的的二进制数据,字符类型 q0: 正数位的个数,数字类型 Author: xcw Data: 2011-07-28 -no descr iption
szjzzh
- 数字进制转换:输入任意一个十进制数,能转换成二进制和十六进制。-Digital hex conversion: enter any decimal number,and they can be converted into binary and hexadecimal.
stack
- 利用栈将一个十进制整数转化为二进制数的算法-Use the stack to a decimal integer into binary numbers algorithm
shito2m
- 十进制转化为二进制 m代码 很精简的一个代码,十六位二进制转化都十分迅速-Decimal into binary m code very concise code, very fast 16-bit binary conversion
ycsf
- 利用遗传算法求Rosenbrock函数的极大值,包含用二进制编码的和十进制编码两种方法写的代码。-This document using the genetic algorithm to solve the maximum value of Rosenbrock function, which includes two methods by binary coded and decimal encoding .
function-y
- 此程序代码是实现将十进制小数转换为二进制数。-Achieve decimal is converted to a binary number
11122
- 将一个任意十进制正整数换算成二进制数的方法-Converted into a binary decimal
ti6
- 十进制转二进制小程序,适合c语言初学者学习-Decimal to transfer binary program, for c language for beginners to learn
Conversion-between-the-values
- 实现数值之间的进制转化,可以实现二进制、十进制和十六进制的转化,关键在于能够实现超过long int型的二进制转化,不受内存整形数据类型大小的限制-Values between hex conversion, binary, decimal, and hexadecimal conversion, the key is to be able to achieve more than long int type binary transfor