虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

co<b>m</b><b>m</b>and

  • AdaBoost, Adaptive Boosting, is a well-known meta machine learning algorithm that was proposed by Yo

    AdaBoost, Adaptive Boosting, is a well-known meta machine learning algorithm that was proposed by Yoav Freund and Robert Schapire. In this project there two main files 1. ADABOOST_tr.m 2. ADABOOST_te.m to traing and test a user-coded learning (classification) algorithm with AdaBoost. A demo file (demo.m) is provided that demonstrates how these two files can be used with a classifier (basic threshold classifier) for two class classification problem.

    标签: well-known algorithm AdaBoost Adaptive

    上传时间: 2014-01-15

    上传用户:qiaoyue

  • SFLOP simulates a floating point operation x op y where op = +, -, *, /

    SFLOP simulates a floating point operation x op y where op = +, -, *, / In chopping or rounding arithmetic using an m digit mantissa, base 10, and an unrestricted exponent range. (sflop: Simulate FLOating Point operation.) For more details on the how the floating point representation of a number is computed see the function sfl.

    标签: simulates operation floating SFLOP

    上传时间: 2017-06-05

    上传用户:fxf126@126.com

  • Matlab 画三维立体图形

    Matlab 画三维立体图形 The aim of geom3d library is to handle and visualize 3D geometric primitives such as points, lines, planes, polyhedra... It provides low-level functions for manipulating 3D geometric primitives, making easier the development of more complex geometric algorithms.      Some features of the library are:   - creation of various shapes (3D points, 3D lines, planes, polyhedra...)     through an intuitive syntax.      Ex: createPlane(p1, p2, p3) to create a plane through 3 points.     - derivation of new shapes: intersection between 2 planes, intersection between     a plane and a line, between a sphere and a line...   - functions for 3D polygons and polyhedra. Polyhedra use classical vertex-faces     arrays (face array contain indices of vertices), and support faces with any     number of vertices. Some basic models are provided (createOctaedron,     createCubeoctaedron...), as well as some computation (like faceNormal or     centroid)      - manipulation of planar transformation. Ex.:     ROT = createRotationOx(THETA);     P2  = transformPoint3d(P1, ROT);     - direct drawing of shapes with specialized functions. Clipping is performed      automatically for infinite shapes such as lines or rays. Ex:     drawPoint3d([50 50 25; 20 70 10], 'ro');    % draw some points     drawLine3d([X0 Y0 Z0 DX DY DZ]);            % clip and draw straight line Some functions require the geom2d package.       Additional help is provided in geom3d/Contents.m file, as well as summary files     like 'points3d.m' or 'lines3d.m'.

    标签: Matlab 画三维立体图形

    上传时间: 2015-11-02

    上传用户:A1321

  • CCD扫描缺陷检测实时数据处理技术

    在诸多行业的材料及材料制成品中,表面缺陷是影响产品质量的重要因素之一。研究具有显微图像实时记录、处理和显示功能的材料表面缺陷检测技术,对材料的分选和材料质量的检查及评价具有重要的意义。 本文以聚合物薄膜材料为被测对象,研究了适用于材料表面缺陷检测的基于现场可编程门阵列(FPGA)的缺陷数据实时处理技术,可实时提供缺陷显微图像信息,完成了对现有材料缺陷检测装置的数字化改造与性能扩展。本文利用FPGA并行结构、运算速度快的特点实现了材料缺陷的实时检测。搭建了以FPGA为核心的缺陷数据处理系统的硬件电路;重点针对聚合物薄膜材料缺陷信号的数据特征,设计了基于FPGA的缺陷图像预处理方案:首先对通过CCD获得的聚合物薄膜材料的缺陷信号进行处理,利用动态阈值定位缺陷区域,将高于阈值的数据即图像背景信息舍弃,保留低于阈值的数据,即完整保留缺陷显微图像的有用信息;然后按照预先设计的封装格式封装缺陷数据;最后通过USB2.0接口将封装数据传输至上位机进行缺陷显微图像重建。此方案大大减少了上传数据量,缓解了上位机的压力,提高了整个缺陷检测装置的检测速度。本文对标准模板和聚合物薄膜材料进行了实验验证。实验结果表明,应用了基于FPGA的缺陷数据实时处理技术的CCD扫描缺陷检测装置可对70μm~1000μm范围内的缺陷进行有效检测,实时重建的缺陷显微图像与实际缺陷在形状和灰度上都有很好的一致性。

    标签: CCD 缺陷检测 实时数据 处理技术

    上传时间: 2013-05-19

    上传用户:Alibabgu

  • 基于霍尔传感器的高精度测速电路设计

    设计宽范围高精度测速电路;通过对三种常用转速测量方法的分析比较,确定采用M法与M/T法相结合的方法测速,从理论上保证测速的宽范围和高精度;电路设计中为了简单,快速,准确的测速,两种测速方法之间采用硬件切换电路完成,克服了软件切换因工作量大而导致的实时控制变差的缺陷;采用片外计数器8253弥补了8051硬件资源短缺的不足,利用霍尔元件完成转速到旋转脉冲的转换,实现了低成本,高性能。

    标签: 霍尔传感器 测速 电路设计 高精度

    上传时间: 2013-11-02

    上传用户:leehom61

  • 本“计算器”可以完成任意的通常借助手持计算器来完成的标准运算。“计算器”可用于基本的算术运算

    本“计算器”可以完成任意的通常借助手持计算器来完成的标准运算。“计算器”可用于基本的算术运算,比如加减运算等,以及C(清除)、AC(全部清零)、N(符号改变)、存储(M+、M-、MR)、平方根和百分比运算。关于科学计算本“计算器”暂不支持。

    标签: 计算器 手持 标准 算术运算

    上传时间: 2014-10-28

    上传用户:BOBOniu

  • 排队论中的一个仿真程序

    排队论中的一个仿真程序,主要是用于仿真M/M/1、M/D/1模型。输入排队模型相关参量,返回计算结果。

    标签: 仿真程序

    上传时间: 2015-03-04

    上传用户:change0329

  • 算法介绍 矩阵求逆在程序中很常见

    算法介绍 矩阵求逆在程序中很常见,主要应用于求Billboard矩阵。按照定义的计算方法乘法运算,严重影响了性能。在需要大量Billboard矩阵运算时,矩阵求逆的优化能极大提高性能。这里要介绍的矩阵求逆算法称为全选主元高斯-约旦法。 高斯-约旦法(全选主元)求逆的步骤如下: 首先,对于 k 从 0 到 n - 1 作如下几步: 从第 k 行、第 k 列开始的右下角子阵中选取绝对值最大的元素,并记住次元素所在的行号和列号,在通过行交换和列交换将它交换到主元素位置上。这一步称为全选主元。 m(k, k) = 1 / m(k, k) m(k, j) = m(k, j) * m(k, k),j = 0, 1, ..., n-1;j != k m(i, j) = m(i, j) - m(i, k) * m(k, j),i, j = 0, 1, ..., n-1;i, j != k m(i, k) = -m(i, k) * m(k, k),i = 0, 1, ..., n-1;i != k 最后,根据在全选主元过程中所记录的行、列交换的信息进行恢复,恢复的原则如下:在全选主元过程中,先交换的行(列)后进行恢复;原来的行(列)交换用列(行)交换来恢复。

    标签: 算法 矩阵求逆 程序

    上传时间: 2015-04-09

    上传用户:wang5829

  • 实现阿克曼函数并统计递归调用次数 Counting times of recursion calling 1. 问题描述 定义阿克曼递归函数: ACK(0,n)=n+1 n>=0

    实现阿克曼函数并统计递归调用次数 Counting times of recursion calling 1. 问题描述 定义阿克曼递归函数: ACK(0,n)=n+1 n>=0 ACK(m,0)=ACK(m-1,1) m>=1 ACK(m,n)=ACK(m-1,ACK(m,n-1)) m,n>0 2. 基本要求 读入m、n,输出ACK(m,n)的值,并统计递归调用次数。

    标签: recursion Counting calling times

    上传时间: 2015-06-11

    上传用户:hgy9473

  • //=== === === === === === === === === === === === === === = //函数说明 //函数名称:PolyFit //函数功能:最小二乘法曲线拟

    //=== === === === === === === === === === === === === === = //函数说明 //函数名称:PolyFit //函数功能:最小二乘法曲线拟合 //使用方法:double *x ---- 存放n个数据点的X坐标 // double *y ---- 存放n个数据点的Y坐标 // int n -------- 给定数据点个数 // double *a ---- 返回m-1次拟合多项式的m个系数 // int m -------- 拟合多项式的项数,即拟合多项式的最高次为m-1。要求m<=n,且 // m<=20。若m>n或m>20,则本函数自动按m=min{n,20}处理 // double *dt --- dt[0]返回拟合多项式与各数据点误差的平方和;dt[1]返回拟合多 // 项式与各数据点的误差绝对值之和;dt[2]返回拟合多项式与各数据 // 点误差绝对值的最大值 //注意事项:拟合多项式的形式为 y = b0 + b1*(x-Xavr)...

    标签: PolyFit 函数 最小二乘法

    上传时间: 2015-07-19

    上传用户:waizhang