Input The input consists of two lines. The first line contains two integers n and k which are the lengths of the array and the sliding window. There are n integers in the second line. Output There are two lines in the output. The first line gives the minimum values in the window at each position, from left to right, respectively. The second line gives the maximum values. Sample Input 8 3 1 3 -1 -3 5 3 6 7 Sample Output -1 -3 -3 -3 3 3 3 3 5 5 6 7
上传时间: 2014-12-21
上传用户:hongmo
ADuC7026_I2C_downloader是ADuC7026 ARM 单片机的I2C接口的烧写程序,通过并口模拟I2C主机,将HEX文件烧入到MCU中.开始并未打算发出来的,因此没写注释 如果需要解压密码,请用 computer00 参考信息: http://computer00.21ic.org/user1/2198/archives/2007/34293.html
标签: ADuC 7026 C_downloader ARM
上传时间: 2013-12-13
上传用户:xyipie
Solutions are obtained for Poissson, diffusion, or wave PDEs homogeneous or nonhomogeneous equations and/or boundary conditions rectangular, cylindrical, or spherical coordinates time, Laplace, or frequency domains Dirichlet, Neumann, Robin, singular, periodic, or incoming/outgoing boundary conditions. Output is suitable for pasting into LaTeX documents.
标签: nonhomogeneous homogeneous Solutions diffusion
上传时间: 2015-10-30
上传用户:JasonC
串口发送接收数据。可配置端口,波特率等。 发送可选择ASCII方式或HEX方式。 中断方式接收数据。 可以通过ADC和MCU可以把数据通过 串口直接发送到PC上让MATLAB分析
上传时间: 2013-12-22
上传用户:xieguodong1234
design LP,HP,B S digital Butterworth and Chebyshev filter. All array has been specified internally,so user only need to input f1,f2,f3,f4,fs(in hz), alpha1,alpha2(in db) and iband (to specify the type of to design). This program output hk(z)=bk(z)/ak(z),k=1,2,..., ksection and the freq.
标签: Butterworth internally Chebyshev specified
上传时间: 2015-11-08
上传用户:253189838
% 文件名:randlsbget.m % 程序员:余波 % 编写时间:2007.6.25 % 函数功能: 本函数将完成提取隐秘于上的秘密信息 % 输入格式举例:result=( scover.jpg ,56, secret.txt ,2001) % 参数说明: % output是信息隐藏后的图象 % len_total是秘密信息的长度 % goalfile是提取出的秘密信息文件 % key是随机间隔函数的密钥 % result是提取的信息 function result=randlsbget(output,len_total,goalfile,key) ste_cover=imread(output) ste_cover=double(ste_cover) % 判断嵌入信息量是否过大 [m,n]=size(ste_cover) frr=fopen(goalfile, a ) % p作为信息嵌入位计数器将信息序列写回文本文件 p=1 % 调用随机间隔函数选取像素点 [row,col]=randinterval(ste_cover,len_toal,key) for i=:len_toal if bitand(ste_cover(row(i),col(i)),1)==1 fwrite(frr,1, bit1 ) result(p,1) else fwrite(frr,0, bit1 ) result(p,1)=0 end if p==len_total break end p=p+1 end fclose(frr)
标签: randlsbget result scover 2007
上传时间: 2015-11-10
上传用户:yzhl1988
本装置是一个以HT46R71D 为主芯片,配合传感器组成的汽车轮胎气压检测装 置,最终取高三位有效值于LCD 显示,有四种显示单位供切换(Psi、Bar、Kpa、 Kgf/cm2)。本装置仅为参考范例,使用时,为提高准确度,建议多量测些组数 据来构建Sensor Output Voltage - Discharge Time (V-T)表格,并作相应校准。
上传时间: 2015-11-19
上传用户:shinesyh
电子密码锁设计,设有详细的电路图和C语言代码;用KEIL编译生成HEX文件,可用PROTUES方针
标签: 电子密码锁
上传时间: 2013-12-15
上传用户:xg262122
的问题.派尔高协议,控制左转右转时,出现问题.其他功能好用.我用DELPHI写的程序,在MOUSEDOWN中, str := chr($FF)+chr($01)+chr($00)+chr($04)+chr($0F)+chr($00)+chr($14) MSComm1.output := str 在CLICK事件中: str := chr($FF)+chr($01)+chr($00)+chr($00)+chr($00)+chr($00)+chr($01) MSComm1.output := str
上传时间: 2015-11-20
上传用户:Thuan
This leon3 design is tailored to the Altera NiosII Startix2 Development board, with 16-bit DDR SDRAM and 2 Mbyte of SSRAM. As of this time, the DDR interface only works up to 120 MHz. At 130, DDR data can be read but not written. NOTE: the test bench cannot be simulated with DDR enabled because the Altera pads do not have the correct delay models. * How to program the flash prom with a FPGA programming file 1. Create a hex file of the programming file with Quartus. 2. Convert it to srecord and adjust the load address: objcopy --adjust-vma=0x800000 output_file.hexout -O srec fpga.srec 3. Program the flash memory using grmon: flash erase 0x800000 0xb00000 flash load fpga.srec
标签: Development Startix2 tailored Altera
上传时间: 2014-01-19
上传用户:chongcongying