# OpenStax-CNX

You are here: Home » Content » Values of g[n] and h[n] for the Haar System

## Navigation

### Recently Viewed

This feature requires Javascript to be enabled.

# Values of g[n] and h[n] for the Haar System

Module by: Phil Schniter. E-mail the author

Note: You are viewing an old version of this document. The latest version is available here.

The coefficients hn h n were originally introduced at describe φ 1 , 0 t φ 1 , 0 t in terms of the basis for V 0 V 0 : φ 1 , 0 t=nhn φ 0 , n t . φ 1 , 0 t n h n φ 0 , n t . From the previous equation we find that

φ 0 , m t, φ 1 , 0 t= φ 0 , m t,nhn φ 0 , n t=nhn( φ 0 , m t, φ 0 , n t)=hm φ 0 , m t φ 1 , 0 t φ 0 , m t n h n φ 0 , n t n h n φ 0 , m t φ 0 , n t h m
(1)
where δnm= φ 0 , m t, φ 0 , n t δ n m φ 0 , m t φ 0 , n t , which gives a way to calculate the coefficients hm h m when we know φ k , n t φ k , n t .

In the Haar case

hm= φ 0 , m t φ 1 , 0 tdt=mm+1 φ 1 , 0 tdt={12  if  m010  otherwise   h m t φ 0 , m t φ 1 , 0 t t m m 1 φ 1 , 0 t 1 2 m 0 1 0
(2)
since φ 1 , 0 t=12 φ 1 , 0 t 1 2 in the interval 0 2 0 2 and zero otherwise. Then choosing P=1 P 1 in gn=-1nhPn g n -1 n h P n , we find that gn={12  if  012  if  10  otherwise   g n 1 2 0 1 2 1 0 for the Haar system. From the wavelet scaling equation ψt=2ngnφ2tn=φ2tφ2t1 ψ t 2 n g n φ 2 t n φ 2 t φ 2 t 1 we can see that the Haar mother wavelet and scaling function look like in Figure 1:

It is now easy to see, in the Haar case, how integer shifts of the mother wavelet describe the differences between signals in V 1 V 1 and V 0 V 0 (Figure 2):

We expect this because V 1 = V 0 W 0 V 1 V 0 W 0 .

## Content actions

### Add module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

#### Definition of a lens

##### Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

##### What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

##### Who can create a lens?

Any individual member, a community, or a respected organization.

##### What are tags?

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks