搜索资源列表
5090309275_1
- 创建一个名为Complex的类,进行复数的运算。Complex需要具有的功能:提供一个构造函数,它使这个类的对象在声明时得以初始化; 提供一个拷贝构造函数用来创建对象; 两个Complex的加法;实部相加,虚部相加; 两个Complex值相减:实部相减,虚部相减 两个Complex值相乘 以(a + b * i)的形式打印Complex的值,其中a为实部,b为虚部。-Create a class called Complex to carry out complex calc
zhanzhuanxiangchu
- 输入两个数,进行辗转相除求他们的最小公因数-Enter the two numbers, the euclidean division seeking their least common factor
On-sun
- 主控mcu为stc12c4052ad,通过判断太阳能板的电压值来通过74h595和uln2803驱动两个4相步进电机,从而使太阳能板正确的对准阳光最强的地方,数据从max7219驱动的数码管显示.-Master mcu to stc12c4052ad, through solar panels to determine the voltage value through 74h595 and uln2803 drive two 4-phase stepper motor, so that the
20110619-3
- 使用动态数据建模(DDS)法与Box—Jenkins建模法相结合的方法建立时间序列模型,使两种 方法的优。最互相结合起来,简化了现有的建模过程。在使用MATLAB进行仿真后,快速、方便地得到了相 应的模型。该方法能较快地完成建模,较适用于对模型精度要求不太高的地方。-Using dynamic data modeling (DDS) method and the Combination of Box-Jenkins modeling method to establish time-se
stingcombin
- 给定一个字符串,要求判断它是否能由其它两个字符串合并而成。当两个字符串合并成一个新的字符串时,新串的字符顺序必须与原串中的顺序相一致。 -Given a string, it is required to determine whether the merger by the other two strings. When two strings into a new string, the string of characters in the new order must be the
Unary-calculation
- 能够按照指数降序排列建立并输出多项式 能够完成两个多项式的相加、相减,并将结果输出 测试数据-According to the index to establish and output descending order polynomial Can finish two polynomial addition, XiangJian, and will output Test data
yiyuan
- 能够完成两个多项式的相加、相减,并将结果输入; 在上交资料中请写明:存储结构、多项式相加的基本过程的算法(可以使用程序流程图) 、源程序、测试数据和结果、算法的时间复杂度、另外可以提出算法的改进方法;-Able to complete two polynomial addition, subtraction, and the results input in hand over data, please specify: storage structure, the basic pro
liangxi
- 求两个整数的最小公倍数的简单的算法代码,辗转相除法-Least common multiple of two integers a simple algorithm code, the Euclidean algorithm
booth
- 比较好的带符号数乘法的方法是布斯(Booth)算法。它采用相加和相减的操作计算补码数据的乘积。Booth算法对乘数从低位开始判断,根据两个数据位的情况决定进行加法、减法还是仅仅移位操作。判断的两个数据位为当前位及其右边的位(初始时需要增加一个辅助位0),移位操作是向右移动。-Signed multiplication better way to Booth (Booth) algorithm. It uses the sum and subtraction calculations comple
c-file
- 输入两个整数,求他们相除的余数,用带参的宏来实现-Enter two integers, find the remainder of their division, with a macro with parameters to achieve
Video-Demo
- 运动球体检测,通过前后两帧视频图像相减得方法,检查球体出现的帧-Movement sphere detection, before and after the two video images through the subtraction method was to check the frame sphere appear
BL0921
- BL0921 集成电路是电子电度表的核心芯片, 基于此芯片设计的电子电度表具有外围电路简单、 精度高、稳定性好等特点,适用于单相两线电力用 户的电能计量-BL0921 integrated circuit chip is the core of electronic watt-hour meter, based on this chip design of electronic watt-hour meter with simple peripheral circuits, high
yuzhihuafenge
- 图像分割是把图像划分成具有实际意义的互补交迭的区域的集合。在图像分割之前,图像区域的数目未知,而在分割后各个区域同时满足均匀性和连通性的条件,故图像分割是一个复杂的过程,目前大多数研究都是针对某一类型图像或者某一具体应用的分割。图像阈值化分割的基本思想是确定一个阈值,然后把每个像素点的像素值和阈值相比较,根据比较的结果把像素划分为两类,前景(1)或背景(0)。该方法的关键是确定一个最优的阈值。常用的阈值确定方法有直接门限法、类间最大方差法(otsu法)、分水岭算法、最小误差法、最大熵法等。该段代
test2
- 采用一种基于极线约束与区域匹配相结合的立体匹配算法对两幅图像中对应点进行匹配。-Using the epipolar constraint and based on a combination of area-based matching algorithm for stereo matching corresponding points in two images to match.
SMatrix
- 以“带行逻辑链接信息”的三元组顺序表表示稀疏矩阵,实现两个矩阵的相加,相减,相乘的功能。稀疏矩阵的输入形式采用三元组表示,而运算的结果的矩阵则以通常的阵列形式列出,并输出每一行的第一个非零元的位置。此外,能实现把以三元顺序表表示的稀疏矩阵转换为用十字链表表示的稀疏矩阵,结果按十字链表的每一行和每一列输出稀疏矩阵-The " logical link with a line of information," said the triple sparse matrix sequen
monidizhen
- matlab中模拟的两道地震信号反射同相轴,用riker子波模拟。-matlab to simulate the two-channel seismic reflection phase axis signal with riker sub-wave simulation.
subtract
- 实现图像相减,并观察两幅图像是否完全一致-image subtract
huanjingxing
- 实现图像的分类,并在分类后实现两幅不同时相影像间的变化检测的功能-Realizes image classification, and after two of the classification realize also by images of the function between change detection
fangweijiaolq
- matlab编写的m函数文件,输入为两个点得经纬度坐标,输出为A点相对于B点得方位角。-matlab write a function of m file, enter the latitude and longitude coordinates for two points was the output of A point relative to point B have azimuth.
PRIME-TEST
- 素数测试问题, 如果把乘、除法(包括取模)看成常数时间, 则算法的时间复杂度为 (k)= (log m)=O(log n)。 而当n极大时,与n在同一数量级的两个数相乘除, 不超过O(log2n)次二进制位操作。 ∴算法的时间复杂性为O(log3n)二进制位操作 -Prime test, If the multiplication, division ( including the modulus as a constant