首页 | 本学科首页   官方微博 | 高级检索  
     

小汉滤波程序设计中三种BASIC语言的比较
引用本文:黄诚,莫金坦,谢天尧,XIE Tian-Yao. 小汉滤波程序设计中三种BASIC语言的比较[J]. 计算机与应用化学, 2001, 18(2): 169-173
作者姓名:黄诚  莫金坦  谢天尧  XIE Tian-Yao
作者单位:1. 中山大学化学与化学工程学院,
2. School of Chemistry Chemical Engineering, Zhongshan University,
基金项目:国家自然科学基金!(编号 :2 9975 0 3 3 ),广东省自然科学基金!(编号 :980 3 4 0 )
摘    要:比较了True Basic(TB)、Quick Basic(QB)和Visual Basic(VB)三种编程语言在正交小波滤波程序设计中程序代码的输入、运算速度、图形输出等方面的差异。结果表明VB中输入代码最为容易,程序的可读性最强;运算速度最快,比QB快了7倍多、比TB快了一半,输出的图形最光滑、漂亮、其界面最为美观,而且最易于担任。VB明显优于QB和TB。

关 键 词:TrueBasic QuickBasic VisualBasic 小波分析 仪器分析 信号处理 计算机应用 小波滤波 程序设计
文章编号:1001-4160(2001)02-169-173
修稿时间:2000-10-18

Programming Compare of Three Basic Languages in Wavelet Filtering
HUANG Cheng MO Jin|yuan XIE Tian|yao. Programming Compare of Three Basic Languages in Wavelet Filtering[J]. Computers and Applied Chemistry, 2001, 18(2): 169-173
Authors:HUANG Cheng MO Jin|yuan XIE Tian|yao
Abstract:The differences among True Basic (TB), Quick Basic (QB) and Visual Basic (VB), which are structured programming language, in wavelet filtering are analyzed from three aspects, i.e. codes input, run-speed and graph output. The filtering arithmetic of orthogonal wavelet adopts Mallat's decomposition and reconstruction algorithm. The processed data (1024 points, S/N = 4) are from simulated electroanalysis signal. And the filtering parameters are same: 8th-Daubechies Wavelet and truncation frequency 4. First, inputting or editing codes in VB, the initials of key words can automatically change to capital letters. In addition, the variables defined by progranmers also can keep consistent with ones in Dim sentence. The codes input in QB is basically the same to that in VB. But then, there is nuance between the both, which is the variables defined by programmers accord to ones of the programmer's latest inputting or editing. Whereas, the capitals and lowercases of codes including key words in TB must be changed artificially; therefore, it is troublesome. The results show that the code-input is most convenient and easy in VB. Secondly, TB and QB base on 16bit DOS, whose conventional memory is confined to 640KB, thus some complicated operation such as iterative one time after time can not run. And VB bases on 32bit Windows operating system. Since there is a three nested repetition in decomposition subprogram and reconstruction subprogram respectively, the run-speed in QB and TB is apparently slower than that in VB. The run-speed in VB is more than seven times faster than one in QB and half times faster than one in TB. Thirdly, Signals with noise seem like that there are many “stings” on the both sides of the useful signal. The noise like sting must be removed. But if the processed curve is not smooth, the filtering parameters will be hard to choose. Because the best graphics resolution is 640×480 pixel and 640×350 pixel respectively in QB and TB, the output graphics are certainly not smooth. Fortunately, the yielded processed curves in VB are pretty smooth; therefore, the only filtering parameters are easily chosen in VB. Besides, the window interface in VB is the most beautiful among those in the three basic languages. Consequently, It's obvious that VB is superior to QB and TB.
Keywords:True Basic   Quick Basic   Visual Basic   Wavelet Analysis
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号