/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none} Q26E (M) Example 3 in Section 4.8 dis... [FREE SOLUTION] | 91Ó°ÊÓ

91Ó°ÊÓ

(M) Example 3 in Section 4.8 displayed a low-pass linear filter that changed a signal \(\left\{ {{{\bf{y}}_k}} \right\}\) into \(\left\{ {{{\bf{y}}_{k + 1}}} \right\}\) and changed a higher-frequency signal \(\left\{ {{{\bf{u}}_k}} \right\}\) into the zero signal, where \({{\bf{y}}_k} = \cos \left( {\frac{{\pi k}}{4}} \right)\) and \({w_k} = \cos \left( {\frac{{3\pi k}}{4}} \right)\). The following calculations will design a filter with approximately those properties. The filter equation is

\({a_0}{{\bf{y}}_{k + 2}} + {a_1}{{\bf{y}}_{k + 1}} + {a_2}{{\bf{y}}_k} = {z_k}\)for all \(k\) (8)

Because the signals are periodic, with period 8, it suffices to study equation (8) for \(k = 0, \ldots ,7\). The action on the two signals described above translates into two sets of eight equations, shown below:

\(\begin{aligned}{}\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,{y_{k + 2}}\,\,\,\,\,{y_{k + 1}}\,\,\,\,\,{y_k}\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,{y_{k + 1}}\\\begin{aligned}{{}}{k = 0}\\{k = 1}\\ \vdots \\{}\\{}\\{}\\{}\\{K = 7}\end{aligned}\left( {\begin{aligned}{{}}0&{.7}&1\\{ - .7}&0&{.7}\\{ - 1}&{ - .7}&0\\{ - .7}&{ - 1}&{ - .7}\\0&{ - .7}&{ - 1}\\{.7}&0&{ - .7}\\1&{.7}&0\\{.7}&1&{.7}\end{aligned}} \right)\left( {\begin{aligned}{{}}{{a_0}}\\{{a_1}}\\{{a_2}}\end{aligned}} \right) = \left( {\begin{aligned}{{}}{.7}\\0\\{ - .7}\\{ - 1}\\{ - .7}\\0\\{.7}\\1\end{aligned}} \right)\end{aligned}\)

\(\begin{aligned}{}\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,{w_{k + 2}}\,\,\,\,\,{w_{k + 1}}\,\,\,\,\,{w_k}\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\\\begin{aligned}{{}}{k = 0}\\{k = 1}\\ \vdots \\{}\\{}\\{}\\{}\\{K = 7}\end{aligned}\left( {\begin{aligned}{{}}0&{ - .7}&1\\{.7}&0&{.7}\\{ - 1}&{.7}&0\\{.7}&{ - 1}&{.7}\\0&{.7}&{ - 1}\\{ - .7}&0&{.7}\\1&{ - .7}&0\\{ - .7}&1&{ - .7}\end{aligned}} \right)\left( {\begin{aligned}{{}}{{a_0}}\\{{a_1}}\\{{a_2}}\end{aligned}} \right) = \left( {\begin{aligned}{{}}0\\0\\0\\0\\0\\0\\0\\0\end{aligned}} \right)\end{aligned}\)

Write an equation \(A{\bf{x}} = {\mathop{\rm b}\nolimits} \), where A is a \(16 \times 3\) matrix formed from the two coefficient matrices above and where b in \({\mathbb{R}^{16}}\) is formed from the two right sides of the equations. Find \({a_0},{a_1},\) and \({a_2}\) given by the least-squares solution of \(A{\mathop{\rm x}\nolimits} = {\mathop{\rm b}\nolimits} \). (The .7 in the data above was used as an approximation for \(\frac{{\sqrt 2 }}{2},\) to illustrate how a typical computation in an applied problem might proceed. If .707 were used instead, the resulting filter coefficients would agree to at least seven decimal places with \(\frac{{\sqrt 2 }}{4},\frac{1}{2},\) and \(\frac{{\sqrt 2 }}{4},\) the values produced by exact arithmetic calculations.)

Short Answer

Expert verified

The values are \({a_0} = {a_2} \approx .353535\), and \({a_1} = .5\).

Step by step solution

01

Least-square solution

When \(A\) is a \(m \times n\) matrix and \({\bf{b}}\) in \({\mathbb{R}^m}\), then \(\widehat {\bf{x}}\) in \({\mathbb{R}^n}\) is aleast-squares solutionof \(A{\bf{x}} = {\bf{b}}\) such that

\(\left\| {{\bf{b}} - A\widehat {\bf{x}}} \right\| \le \left\| {{\bf{b}} - A{\bf{x}}} \right\|\) for every \({\bf{x}}\) in \({\mathbb{R}^n}\).

02

Determine \({a_0},{a_1},\) and \({a_2}\) given by the least-squares solution of \(A{\mathop{\rm x}\nolimits}  = {\mathop{\rm b}\nolimits} \)

The given filter equation is \({a_0}{y_{k + 2}} + {a_1}{y_{k + 1}} + {a_2}{y_k} = {z_k}\) for all \(k\).

Take \(.7\) as an approximation of \(\frac{{\sqrt 2 }}{2}\), therefore \({a_0} = {a_2} \approx .353535\), and \({a_1} = .5\). Take \(.707\) as an approximation of \(\frac{{\sqrt 2 }}{2}\), therefore, \({a_0} = {a_2} \approx .35355339,\) and \({a_1} = .5\).

Thus, the values are \({a_0} = {a_2} \approx .353535\), and \({a_1} = .5\).

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with 91Ó°ÊÓ!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

In Exercises 17 and 18, all vectors and subspaces are in \({\mathbb{R}^n}\). Mark each statement True or False. Justify each answer.

a. If \(W = {\rm{span}}\left\{ {{x_1},{x_2},{x_3}} \right\}\) with \({x_1},{x_2},{x_3}\) linearly independent,

and if \(\left\{ {{v_1},{v_2},{v_3}} \right\}\) is an orthogonal set in \(W\) , then \(\left\{ {{v_1},{v_2},{v_3}} \right\}\) is a basis for \(W\) .

b. If \(x\) is not in a subspace \(W\) , then \(x - {\rm{pro}}{{\rm{j}}_W}x\) is not zero.

c. In a \(QR\) factorization, say \(A = QR\) (when \(A\) has linearly

independent columns), the columns of \(Q\) form an

orthonormal basis for the column space of \(A\).

Find an orthogonal basis for the column space of each matrix in Exercises 9-12.

10. \(\left( {\begin{aligned}{{}{}}{ - 1} & 6 & 6 \\ 3 & { - 8}&3\\1&{ - 2}&6\\1&{ - 4}&{ - 3}\end{aligned}} \right)\)

In Exercises 9-12, find (a) the orthogonal projection of b onto \({\bf{Col}}A\) and (b) a least-squares solution of \(A{\bf{x}} = {\bf{b}}\).

9. \(A = \left[ {\begin{aligned}{{}{}}{\bf{1}}&{\bf{5}}\\{\bf{3}}&{\bf{1}}\\{ - {\bf{2}}}&{\bf{4}}\end{aligned}} \right]\), \({\bf{b}} = \left[ {\begin{aligned}{{}{}}{\bf{4}}\\{ - {\bf{2}}}\\{ - {\bf{3}}}\end{aligned}} \right]\)

In Exercises 1-6, the given set is a basis for a subspace W. Use the Gram-Schmidt process to produce an orthogonal basis for W.

5. \(\left( {\begin{aligned}{{}{}}1\\{ - 4}\\0\\1\end{aligned}} \right),\left( {\begin{aligned}{{}{}}7\\{ - 7}\\{ - 4}\\1\end{aligned}} \right)\)

Compute the quantities in Exercises 1-8 using the vectors

\({\mathop{\rm u}\nolimits} = \left( {\begin{aligned}{*{20}{c}}{ - 1}\\2\end{aligned}} \right),{\rm{ }}{\mathop{\rm v}\nolimits} = \left( {\begin{aligned}{*{20}{c}}4\\6\end{aligned}} \right),{\rm{ }}{\mathop{\rm w}\nolimits} = \left( {\begin{aligned}{*{20}{c}}3\\{ - 1}\\{ - 5}\end{aligned}} \right),{\rm{ }}{\mathop{\rm x}\nolimits} = \left( {\begin{aligned}{*{20}{c}}6\\{ - 2}\\3\end{aligned}} \right)\)

8. \(\left\| {\mathop{\rm x}\nolimits} \right\|\)

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.