2015年6月7日

初识Python

摘要: Python(英语发音:/ˈpaɪθən/), 是一种面向对象、解释型计算机程序设计语言,由Guido van Rossum于1989年底发明, Python 源代码同样遵循 GPL(GNU General Public License)协议 。Python语法简洁而清晰,具有丰富和强大的类库。它常被昵称为胶水语言,能够把用其他语言制作的各种模块(尤其是C/C++)很轻松地联结在一起。使用Pyth... 阅读全文

posted @ 2015-06-07 10:42 dpc525 阅读(205) 评论(0) 推荐(0) 编辑

2015年5月28日

苹果广告1984

摘要: Today, we celebrate the first glorious anniversary of the Information Purification Directives. We have created, for the first time in all history, a ... 阅读全文

posted @ 2015-05-28 06:50 dpc525 阅读(204) 评论(0) 推荐(0) 编辑

2015年5月25日

Think different

摘要: Here’s to the crazy ones.The misfits. The rebels. The troublemakers.The round pegs in the square holes.The ones who see things differently.They’re not... 阅读全文

posted @ 2015-05-25 22:08 dpc525 阅读(225) 评论(0) 推荐(0) 编辑

2015年5月1日

JD IPO address by liuqiangdong

摘要: Ladies and gentlemen, Good evening.I'd rather use english, not mandarin.Because during the road show, I felt so sorry.When I opened my mouth I have to... 阅读全文

posted @ 2015-05-01 09:49 dpc525 阅读(251) 评论(0) 推荐(0) 编辑

iPhone4 offical AD

摘要: iPhone4 is so much more than just a new products.I mean this would have a lot of impact on the way in which we can connect with each other.In 2007, ip... 阅读全文

posted @ 2015-05-01 09:13 dpc525 阅读(196) 评论(0) 推荐(0) 编辑

2013年7月9日

正则表达式总结

摘要: 正则表达式使用单个字符串来描述、匹配一系列符合某个句法规则的字符串。在很多文本编辑器里,正则表达式通常被用来检索、替换那些符合某个模式的文本。Ken Thompson第一个把正则表达式用于计算机领域,开发了qed和grep两个实用文本处理工具。 一个正则表达式通常被称为一个模式 (pattern),为用来描述或者匹配一系列符合某个句法规则的字符串。例如:Handel、Händel和Haendel这三个字符串,都可以由“Ha|ä|(ae)ndel”这个模式来描述。正则表达式有多种不同的风格,不同编程语言之间的正则表达式基本相同,在一些细节上不同。详细请参考文献《正则表达式30 阅读全文

posted @ 2013-07-09 11:40 dpc525 阅读(327) 评论(0) 推荐(0) 编辑

2012年3月15日

将正数十进制转换为2~16进制数

摘要: %trdec()主要用于将十进制转换为2~16进制数% n为输入的十进制数% b为要转换的基数% Example% trdec(10.0,2) returns 1010.0000%软件作者:dpc525%联系EMAIL:dpc525@163.com%完成日期:2008-6-8%软件版本:1.0function dec=trdec(n,b)g = floor(n); %求得数n的整数q=n-g; %求得数n的小数ch1='0123456789ABCDEF'; %十六进制的16个符号k=1;m=1;while g~=0 %辗转相除法求值 p(k)=rem(g,b); g=fix(g 阅读全文

posted @ 2012-03-15 21:10 dpc525 阅读(325) 评论(0) 推荐(0) 编辑

MATLAB设计FIR滤波器

摘要: %clear;% fs = 60000000; %采样频率% f1 = 10000; % f2 = 4000000;% w1 = 2*pi*f1/fs; %角频率% w2 = 2*pi*f2/fs;% bits = 16;% n = 0:0.01:500;% y = sin(w1*n) + sin(w2*n);% subplot(2,1,1);% plot(y);% Y=filter(Num, 1... 阅读全文

posted @ 2012-03-15 20:58 dpc525 阅读(517) 评论(0) 推荐(0) 编辑

protel总结1

摘要: 1、引脚封装塑封J引线芯片封装 (PLCC),薄四角扁平封装 (TQFP),塑封四角扁平封装 (PQFP),高效四角扁平封装 (RQFP) ,LQFP 也就是薄型QFP(Low rofile Quad Flat Package)BGA是英文Ball Grid Array Package的缩写,即球栅阵列封装。 采用BGA技术封装的内存,可以使内存在体积不变的情况下内存容量提高两到三倍,BGA与TSOP相比,具有更小的体积,更好的散热性能和电性能。BGA 封装技术使每平方英寸的存储量有了很大提升,采用BGA封装技术的内存产品在相同容量下,体积只有TSOP封装的三分之一;另外,与传统TSOP封装方 阅读全文

posted @ 2012-03-15 15:53 dpc525 阅读(470) 评论(0) 推荐(0) 编辑

基于verilog分频器总结

摘要: 使用环境:Quartus II 8.0 + DE2(Cyclone II EP2C35F627C6)1 占空比为50%的6分频电路。源代码:module clk_mod6_divide( //input clk, rst_n, //output clk_divide, ); input clk;input rst_n;output clk_divide;reg clk_divide;reg [2:0] cnt;always @(posedge clk or negedge rst_n)begin if (rst_n == 1'b0) cnt <= 3'b0; else i 阅读全文

posted @ 2012-03-15 15:49 dpc525 阅读(663) 评论(0) 推荐(0) 编辑

导航