Programming Problems 4

原创 2007年10月08日 10:21:00
1. Wavelets. Applications to computer vision, human vision, speech processing, compressing the FBI fingerprint database, filtering noisy data, detecting self-similarity in time series, sound synthesis, computer graphics, medical imaging, analyzing the clumping of galaxies, and analyzing turbulence. The Haar function is definite by Φ(x) = 1 if 0 ≤ x < 1/2, Φ(x) = -1 if 1/2 ≤ x < 1, and Φ(x) = 0 otherwise. For integer m and n, the Haar basis function Φm,n(x) = 2-m/2 Φ(2-mx - n). Write a program Haar.java that takes two integer input M and N, and one real input x and prints Φm,n(x). Or maybe plot it?

2. US postal barcodes. The POSTNET barcode is used by the US Postal System to route mail to the individual delivery carrier. Each decimal digit in the zip code is encoded using a sequence of 3 half-height and 2 full-height bars for use by scanners as follows:
Value 0 1 2 3 4 5 6 7 8 9
Encoding ||╷╷╷ ╷╷╷|| ╷╷|╷| ╷╷||╷ ╷|╷╷| ╷|╷|╷ ╷||╷╷ |╷╷╷| |╷╷|╷ |╷|╷╷

The barcode starts and ends with a full-height bar (the guard rail). A checksum digit is appended (after the 5 digit zip code or ZIP+4): it is computed by summing up the original digits mod 10. Write a program that reads in a five (or nine) digit zip code as the command line parameter and prints out the corresponding postal bar code.

  • Function to plot a half-height and full-height bar.
  • Function to plot the sequence of bars for a given digit.
  • Function to compute the check digit.
  • Function to pad a number with leadings zeros (if necessary).
  • Function to parse the input string "08544-1234" into digits (or command line should be ZIP then +4 or just ZIP).
  • Function to check whether a given zip code + check digit is valid.  

POJ 2151 Check the difficulty of problems(概率dp)

POJ 2151 Check the difficulty of problems(概率dp)
  • u012860063
  • u012860063
  • 2015年02月06日 14:44
  • 958

Codeforces Round #453 (Div. 2) C

C. Hashing Trees time limit per test 2 seconds memory limit per test 256 megabytes ...
  • ACM_e
  • ACM_e
  • 2017年12月21日 00:07
  • 110

The 14th Zhejiang Provincial Collegiate Programming Contest Sponsored by TuSimple(A+B+C+D)

Cooking CompetitionTime Limit: 1 Second Memory Limit: 65536 KB “Miss Kobayashi’s Dragon Maid”...
  • qq_33183401
  • qq_33183401
  • 2017年04月23日 01:11
  • 579

ZOJ 142 - The 14th Zhejiang Provincial Collegiate Programming Contest Sponsored by TuSimple - B

Problem PreparationTime Limit: 1 Second Memory Limit: 65536 KBIt’s time to prepare the problems...
  • linglian0522
  • linglian0522
  • 2017年04月22日 22:02
  • 816

Programming Exercise 4: Neural Networks Learning Machine Learning

大家好,今天总结Coursera网课上Andrew Ng MachineLearning 第四次作业 (1) nnCostFunction.mfunction [J grad] = nnCostFu...
  • qq_21275321
  • qq_21275321
  • 2016年12月27日 21:57
  • 280

Qt学习书籍:C++ GUI Programming with Qt 4

C++ GUI Programming with Qt 4 By Jasmin Blanchette, Mark Summerfield ..................................
  • iamdbl
  • iamdbl
  • 2007年01月25日 21:21
  • 16077

机器学习(Machine Learning)心得体会(4)神经网络Exercise 4:Neural Networks

这篇主要内容是求得神经网络Theta的最优解,还是要用代价函数和梯度下降法来求解,对于神经网络来说,求得代价函数以及梯度要使用更加复杂的方法。     对于代价函数,由于每层都有Theta,而且维度...
  • zongzongzong2015
  • zongzongzong2015
  • 2015年12月19日 13:28
  • 892

Programing Exercise 4:Neural Networks Learning

本文讲的是coursera上斯坦福大学机器学习公开课(吴文达)课程第五周Neural Networks :learning 的课后作业。本文给出了作业实现的具体代码,并给出相应的注释和解释,供各位同学...
  • a1015553840
  • a1015553840
  • 2016年02月29日 19:20
  • 1350

iOS 11 Swift Programming Cookbook.pdf 英文原版 免费下载

下载地址: iOS 11 Swift Programming Cookbook.pdf
  • jiongyi1
  • jiongyi1
  • 2018年01月11日 23:47
  • 87

SAS programming for spatial problems

The programs here are for people who like SAS, geography and geographic information science. Most of...
  • yugao1986
  • yugao1986
  • 2011年10月13日 11:18
  • 344
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:Programming Problems 4
举报原因:
原因补充:

(最多只允许输入30个字)