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

time-delay <b>Systems</b>

  • 离散实验 一个包的传递 用warshall

     实验源代码 //Warshall.cpp #include<stdio.h> void warshall(int k,int n) { int i , j, t; int temp[20][20]; for(int a=0;a<k;a++) { printf("请输入矩阵第%d 行元素:",a); for(int b=0;b<n;b++) { scanf ("%d",&temp[a][b]); } } for(i=0;i<k;i++){ for( j=0;j<k;j++){ if(temp[ j][i]==1) { for(t=0;t<n;t++) { temp[ j][t]=temp[i][t]||temp[ j][t]; } } } } printf("可传递闭包关系矩阵是:\n"); for(i=0;i<k;i++) { for( j=0;j<n;j++) { printf("%d", temp[i][ j]); } printf("\n"); } } void main() { printf("利用 Warshall 算法求二元关系的可传递闭包\n"); void warshall(int,int); int k , n; printf("请输入矩阵的行数 i: "); scanf("%d",&k); 四川大学实验报告 printf("请输入矩阵的列数 j: "); scanf("%d",&n); warshall(k,n); } 

    标签: warshall 离散 实验

    上传时间: 2016-06-27

    上传用户:梁雪文以

  • 道理特分解法

    #include "iostream" using namespace std; class Matrix { private: double** A; //矩阵A double *b; //向量b public: int size; Matrix(int ); ~Matrix(); friend double* Dooli(Matrix& ); void Input(); void Disp(); }; Matrix::Matrix(int x) { size=x; //为向量b分配空间并初始化为0 b=new double [x]; for(int j=0;j<x;j++) b[j]=0; //为向量A分配空间并初始化为0 A=new double* [x]; for(int i=0;i<x;i++) A[i]=new double [x]; for(int m=0;m<x;m++) for(int n=0;n<x;n++) A[m][n]=0; } Matrix::~Matrix() { cout<<"正在析构中~~~~"<<endl; delete b; for(int i=0;i<size;i++) delete A[i]; delete A; } void Matrix::Disp() { for(int i=0;i<size;i++) { for(int j=0;j<size;j++) cout<<A[i][j]<<" "; cout<<endl; } } void Matrix::Input() { cout<<"请输入A:"<<endl; for(int i=0;i<size;i++) for(int j=0;j<size;j++){ cout<<"第"<<i+1<<"行"<<"第"<<j+1<<"列:"<<endl; cin>>A[i][j]; } cout<<"请输入b:"<<endl; for(int j=0;j<size;j++){ cout<<"第"<<j+1<<"个:"<<endl; cin>>b[j]; } } double* Dooli(Matrix& A) { double *Xn=new double [A.size]; Matrix L(A.size),U(A.size); //分别求得U,L的第一行与第一列 for(int i=0;i<A.size;i++) U.A[0][i]=A.A[0][i]; for(int j=1;j<A.size;j++) L.A[j][0]=A.A[j][0]/U.A[0][0]; //分别求得U,L的第r行,第r列 double temp1=0,temp2=0; for(int r=1;r<A.size;r++){ //U for(int i=r;i<A.size;i++){ for(int k=0;k<r-1;k++) temp1=temp1+L.A[r][k]*U.A[k][i]; U.A[r][i]=A.A[r][i]-temp1; } //L for(int i=r+1;i<A.size;i++){ for(int k=0;k<r-1;k++) temp2=temp2+L.A[i][k]*U.A[k][r]; L.A[i][r]=(A.A[i][r]-temp2)/U.A[r][r]; } } cout<<"计算U得:"<<endl; U.Disp(); cout<<"计算L的:"<<endl; L.Disp(); double *Y=new double [A.size]; Y[0]=A.b[0]; for(int i=1;i<A.size;i++ ){ double temp3=0; for(int k=0;k<i-1;k++) temp3=temp3+L.A[i][k]*Y[k]; Y[i]=A.b[i]-temp3; } Xn[A.size-1]=Y[A.size-1]/U.A[A.size-1][A.size-1]; for(int i=A.size-1;i>=0;i--){ double temp4=0; for(int k=i+1;k<A.size;k++) temp4=temp4+U.A[i][k]*Xn[k]; Xn[i]=(Y[i]-temp4)/U.A[i][i]; } return Xn; } int main() { Matrix B(4); B.Input(); double *X; X=Dooli(B); cout<<"~~~~解得:"<<endl; for(int i=0;i<B.size;i++) cout<<"X["<<i<<"]:"<<X[i]<<" "; cout<<endl<<"呵呵呵呵呵"; return 0; } 

    标签: 道理特分解法

    上传时间: 2018-05-20

    上传用户:Aa123456789

  • “随叫随到”垃圾桶

    本系统以TMS320F2812为核心设计了一种智能家居装置——“随叫随到”垃圾桶,实现了语音控制垃圾桶的运动。以拾音器作为声音传感器,采用延时估计法(Time Delay Estimation,TDE)实现了声源方位的实时检测;采用超声波传感器实现了垃圾桶行进的蔽障功能;同时,采用语音识别技术实现了对用户的前、后、左、右行驶或开启、关闭垃圾桶盖等各种语音指示的识别。从而达到了垃圾桶“随叫随到”的智能化、人性化的目的。

    标签: 比赛

    上传时间: 2018-10-17

    上传用户:cyyyyyy

  • OFDM+Wireless+LANS

    Before delving into the details of orthogonal frequency division multiplexing (OFDM), relevant background material must be presented first. The purpose of this chapter is to provide the necessary building blocks for the development of OFDM principles. Included in this chapter are reviews of stochastic and random process, discrete-time signals and systems, and the Discrete Fourier Transform (DFT). Tooled with the necessary mathematical foundation, we proceed with an overview of digital communication systems and OFDM communication systems. We conclude the chapter with summaries of the OFDM wireless LAN standards currently in existence and a high-level comparison of single carrier systems versus OFDM.

    标签: Wireless OFDM LANS

    上传时间: 2020-05-31

    上传用户:shancjb

  • 基于TMS320F28335的超声波流量计硬件原理图+软件源码

    基于TMS320F28335的超声波流量计硬件原理图+软件源码本文以TMS320F28335 处理器为核心,设计一种用于管道流量测量的超声波流量计。系统硬件由核心板,超声波发射和接收电路,切换电路,超声换能器,基于ADS805 的高速信号采集电路,人机交互以及电源等模块构成。采用时差法进行管道流量测量,时差测量采用SCOT 加权的广义互相关时延估计算法。本论文设计的超声波流量计具有测量速度快、准确性好、成本低等优点。关键字:C2000,超声波,流量,广义互相关算法AbstractA kind of ultrasonic flowmeter using for the pipe flow measurement is designed based onTMS320F28335 in this paper. The system hardware consists of the following parts: the core board,ultrasonic signal transmitter and receiver circuits, switch circuit, ultrasonic transducer, signalacquisition circuit based on ADS805, human-computer interaction module and power supplymodule, etc. The system use the method of time difference for pipeline flow measurement and thetime difference is calculated by the time-delay algorithm of SCOT weighted generalizedcross-correlation. The ultrasonic flowmeter has the features of high testing speed, high precisionand low cost, etc.Keywords: C2000,Ultrasonic, Flow, Generalized Cross-Correlation Algorithm

    标签: tms320f28335 超声波流量计

    上传时间: 2022-05-06

    上传用户:

  • 安森美车规级1080P图像传感器AR0231手册

    AR0231AT7C00XUEA0-DRBR(RGB滤光)安森美半导体推出采用突破性减少LED闪烁 (LFM)技术的新的230万像素CMOS图像传感器样品AR0231AT,为汽车先进驾驶辅助系统(ADAS)应用确立了一个新基准。新器件能捕获1080p高动态范围(HDR)视频,还具备支持汽车安全完整性等级B(ASIL B)的特性。LFM技术(专利申请中)消除交通信号灯和汽车LED照明的高频LED闪烁,令交通信号阅读算法能于所有光照条件下工作。AR0231AT具有1/2.7英寸(6.82 mm)光学格式和1928(水平) x 1208(垂直)有源像素阵列。它采用最新的3.0微米背照式(BSI)像素及安森美半导体的DR-Pix™技术,提供双转换增益以在所有光照条件下提升性能。它以线性、HDR或LFM模式捕获图像,并提供模式间的帧到帧情境切换。 AR0231AT提供达4重曝光的HDR,以出色的噪声性能捕获超过120dB的动态范围。AR0231AT能同步支持多个摄相机,以易于在汽车应用中实现多个传感器节点,和通过一个简单的双线串行接口实现用户可编程性。它还有多个数据接口,包括MIPI(移动产业处理器接口)、并行和HiSPi(高速串行像素接口)。其它关键特性还包括可选自动化或用户控制的黑电平控制,支持扩频时钟输入和提供多色滤波阵列选择。封装和现状:AR0231AT采用11 mm x 10 mm iBGA-121封装,现提供工程样品。工作温度范围为-40℃至105℃(环境温度),将完全通过AEC-Q100认证。

    标签: 图像传感器

    上传时间: 2022-06-27

    上传用户:XuVshu

  • VIP专区-嵌入式/单片机编程源码精选合集系列(120)

    VIP专区-嵌入式/单片机编程源码精选合集系列(120)资源包含以下内容:1. ARM的一个GPIO口的应用 它使能一个口 驱动灯亮.2. bit led2=P2^5 // led2对应接在P2.5脚 sbit led3=P2^6 // led3对应接在P2.6脚 sbit led4=P2^7 // led4对应接在P2.7脚.3. EA = 1 //开总中断 ET0 = 1 //允许定时器0中断 TMOD = 1 //定时器工作方式选择 TL0 = 0x06 TH0 = 0xf8 //定时器赋予初值 .4. 嵌入式实验代码非常适合全面学习ARMS3C2440,有20多个练习代码.5. 基于C8051F340单片机的串行flash芯片SST25VF016B的应用,配合一般的串口调试程序即可完成对板上器件的读写操作..6. 飞思卡尔MC9S12DG128的PORTP7中断试验.7. 微细间距QFP器件手工焊接指南,希望对大家有用.8. 金鹏OCMJ8*10D的触摸屏驱动程序.9. CODE for embedded C ,hand coding version.10. konqueror3 embedded版本, KDE环境下的当家浏览器的嵌入式版本源码包..11. 三菱PLC编写用与点焊机上的PLC程序,另包括完整电气原理图..12. 24CXXX存储数码管 24C02读写(c) 24C02读写(汇编).13. 电机控制类 步进电机正反转控制 步进电机调速控制.14. 个人设计的基于VHDL的数字电子日历 在MAX+PLUSH软件平台上编译、仿真.15. 超声波倒车雷达的设计程序 利用SPCE061A单片机实现超声波倒车雷达的测量计算方法。程序中采用软件校正.16. PATTERNS FOR TIME-TRIGGERED EMBEDDED SYSTEMS by Michael J. Pont This code is copyright (c) 200.17. EP9315 开发板手册 cirrus logic(思睿逻辑)公司在2005年推出的一款ARM920T.18. 译本嵌入式数据库sqlite的电子书,值得大家参考..19. 1302是用来输出北京时间的,18b20用来检测温度,输出在ds1302上显示,有仿真文件.20. 可将其需要的文件转换成数组,主要应用在嵌入式或单片机编程中将要分析的文件生成一个数组参加程序编译.21. 这是关于TDOA_AOA得一篇混合定位算法,有助于研究算发的人学习和使用..22. 51串口通讯程序.23. 一个开源的Modbus协议栈.24. 能够详细测量正负温度的且小数点后四位的测温系统.25. 一本关于嵌入式系统实时概念的著作.26. C语言写的Ibutton的读写文件,硬件资料 AT89s51+at24c02,编译通过,可以使用.27. arm的原理图设计.28. 本书深入浅出的介绍了可重用的理念与实现.29. 德州仪器的关于cc2430评估模块的原理图及PCB资料.30. CC2430DB Reference Design TI的cc2430开发板设计资料.31. 嵌入式MCU可靠性接口及在车载定位系统中的应用.32. au1200下的boot代码.33. ARM嵌入式系统开发:软件设计与优化.34. 友善之臂---QQ2440V3原理图.35. zigbee协议栈.36. 国外自制频率计,很全,有原理图,有源代码,有说明..37. ECOS2.0的源码.38. trf7960开发板原理图,是TI公司的.39. c8051f的多机通信程序 在c语言环境下.40. 祥细介绍液晶显示器原理祥细介绍液晶显示器原理.

    标签: 通信

    上传时间: 2013-04-15

    上传用户:eeworm

  • 这是msp430 time b的例程

    这是msp430 time b的例程,请查收,接下来还有

    标签: time msp 430

    上传时间: 2015-12-04

    上传用户:bcjtao

  • Mahafza B.R, Elsherbeni A.Z. - MATLAB Simulations for Radar Systems Design - 2004 对于雷达系统设计师来说这是一本难得的

    Mahafza B.R, Elsherbeni A.Z. - MATLAB Simulations for Radar Systems Design - 2004 对于雷达系统设计师来说这是一本难得的宝典

    标签: A.Z. Simulations Elsherbeni Mahafza

    上传时间: 2016-03-20

    上传用户:pinksun9

  • 基于单片机的数字化B超键盘设计

    针对目前使用的RS232接口数字化B超键盘存在PC主机启动时不能设置BIOS,提出一种PS2键盘的设计方法。基于W78E052D单片机,采用8通道串行A/D转换器设计了8个TGC电位器信息采集电路,电位器位置信息以键盘扫描码序列形式发送,正交编码器信号通过XC9536XL转换为单片机可接收的中断信号,软件接收到中断信息后等效处理成按键。结果表明,在满足开机可设置BIOS同时,又可实现超声特有功能,不需要专门设计驱动程序,接口简单,成本低。 Abstract:  Aiming at the problem of the digital ultrasonic diagnostic imaging system keyboard with RS232 interface currently used couldn?蒺t set the BIOS when the PC boot, this paper proposed a design method of PS2 keyboards. Based on W78E052D microcontroller,designed eight TGC potentiometers information acquisition circuit with 8-channel serial A/D converter, potentiometer position information sent out with keyboard scan code sequentially.The control circuit based on XC9536 CPLD is used for converting the mechanical actions of the encoders into the signals that can be identified by the MCU, software received interrupt information and equivalently treatmented as key. The results show that the BIOS can be set to meet the boot, ultrasound specific functionality can be achieved at the same time, it does not require specially designed driver,the interface is simple and low cost.    

    标签: 单片机 B超 数字化 键盘设计

    上传时间: 2013-10-10

    上传用户:asdfasdfd