Home > Store > Programming > C/C++

C++ Algorithms for Digital Signal Processing, 2nd Edition

C++ Algorithms for Digital Signal Processing, 2nd Edition

eBook (Adobe DRM)

  • Your Price: $70.54
  • List Price: $82.99
  • About Adobe DRM eBooks
  • This eBook requires the free Adobe® Digital Editions software.

    Before downloading this DRM-encrypted PDF, be sure to:

    • Install the free Adobe Digital Editions software on your machine. Adobe Digital Editions only works on Macintosh and Windows, and requires the Adobe Flash Player. Please see the official system requirements.
    • Authorize your copy of Adobe Digital Editions using your Adobe ID (select AdobeID as the eBook vendor). If you don't already have an Adobe ID, you can create one here.

Also available in other formats.

Register your product to gain access to bonus material or receive a coupon.


  • Copyright 1999
  • Dimensions: 7 X 9-1/4
  • Pages: 608
  • Edition: 2nd
  • eBook (Adobe DRM)
  • ISBN-10: 0-13-244151-9
  • ISBN-13: 978-0-13-244151-3

Bring the power and flexibility of C++ to all your DSP applications

The multimedia revolution has created hundreds of new uses for Digital Signal Processing, but most software guides have continued to focus on outdated languages such as FORTRAN and Pascal for managing new applications. Now C++ Algorithms for Digital Signal Processing applies object-oriented techniques to this growing field with software you can implement on your desktop PC. C++ Algorithms for Digital Signal Processing's programming methods can be used for applications as diverse as:

  • Digital audio and video
  • Speech and image processing
  • Digital communications
  • Radar, sonar, and ultrasound signal processing

Complete coverage is provided, including:

  • Overviews of DSP and C++
  • Hands-on study with dozens of exercises
  • Extensive library of customizable source code
  • Import and Export of Microsoft WAV and Matlab data files

Multimedia professionals, managers, and even advanced hobbyists will appreciate C++ Algorithms for Digital Signal Processing as much as students, engineers, and programmers. It's the ideal bridge between programming and signal processing, and a valuable reference for experts in either field.

Source code for all of the DSP programs and DSP data associated with the examples discussed in this book and Appendix B and the file README.TXT which provide more information about how to compile and run the programs can be downloaded from www.informit.com/title/9780131791442

Sample Content

Table of Contents


List of Key Symbols.

1. Digital Signal Processing Fundamentals.


The Sampling Function. Sampled Signal Spectra. Continuous- and Discrete Time Signal Spectra. The Impulse Sequence.

Linear Time Invariant Operators.

Causality. Difference Equations. The z-transform Description of Linear Operators. Frequency Domain Transfer Function of an Operator. Frequency Response Relationship to the z-transform. Summary of Linear Operators.

Digital Filters.

FIR Filters. Linear Phase in FIR Filters. IIR Filters. Example Filter Responses. Filter Specifications. Filter Structures.

The Discrete Fourier Transform.

Form of the DFT. Properties of the DFT. Power Spectrum. Averaged Periodograms. The Fast Fourier Transform. FFT Example Result.

Nonlinear Operators.

Clipping and Compression. _-law and A-law Compression. Filtering by Sorting: Median and Min/Max Filters.

Linear Algebra: Matrices and Vectors.

Vectors. Properties of Matrix Mathematics.

Probability and Random Processes.

Basic Probability. Random Variables. Mean, Variance, and Gaussian Random Variables. Quantization of Sequences. Random Processes, Autocorrelation, and Spectral Density. Modeling Real-World Signals With AR Processes.

Adaptive Filters and Systems.

Wiener Filter Theory. LMS Algorithms.

Two-Dimensional Signal Processing.

The Two-Dimensional Fourier Transform. Two-Dimensional Convolution. Using the FFT to Speed Up Two-Dimensional Processing. Two-Dimensional Filtering in the Transform Domain.


2. Programming Fundamentals.

The Elements of DSP Programming. Variables and Data Types.

Types of Numbers. Arrays. Text Data Types: Characters and Strings.


Assignment Operators. Arithmetic and Bitwise Operators. Combined Operators. Logical Operators. Operator Overloading. Operator Precedence and Type Conversion.

Program Control.

Conditional Execution: if-else. The switch Statement. Single-Line Conditional Expressions. Loops: while, do-while, and for. Program Jumps: break, continue, and goto. Exception Handling.


Defining and Declaring Functions. Storage Class, Privacy, and Scope. Function Prototypes. Templates.

Macros and the C Preprocessor.

Conditional Preprocessor Directives. Macros. Inline Functions. Constant Variables.

Pointers, Arrays, and References.

Special Pointer Operators. Pointers and Dynamic Memory Allocation. Arrays of Pointers. References.


Declaring and Referencing Structures. Member Functions. Constructors and Destructors. Pointers to Structures.


Member Access Identifiers. Operator Overloading. Inheritance. Complex Numbers.

Input and Output.

cin, cout, and cerr. Accessing Disk Files.

Common C++ Programming Pitfalls.

Special String Characters. Array Indexing. Misusing Pointers.

Comments on Programming Style.

Software Quality. Structured Programming.


3. User Interface and Disk Storage Routines.

User Interface.

String Input. Numerical Input.

Formatted Disk Storage.

Open Formatted Data File Routines. Formatted Data Access Routines. Trailer Access Routines.

Graphic Display of Data. Exercises. References.

4. Filtering Routines.

Digital Versus Analog Filters. FIR Filters.

Floating-Point FIR Filters. Integer FIR Filters.

IIR Filters.

IIR Filter Design. IIR Filter Function.

Real-Time Filters.

FIR Real-Time Filters. Real-Time Filtering Examples.

Interpolation and Decimation.

FIR Interpolation. FIR Sample Rate Modification and Pitch Shifting.

Complex Filters.

Hilbert Transform Real-to-Complex Conversion.

Filtering to Remove Noise.

Noise Generation. Statistics Calculation. Signal-to-Noise Ratio Improvement. Filtering Quantization Noise.

Nonlinear Filtering.

Sorting. Median Filtering. Speech Compression.

Oscillators and Waveform Synthesis.

IIR Filters as Oscillators. Table-Generated Waveforms.

Adaptive Filtering and Modeling of Signals.

LMS Signal Enhancement. ARMA Modeling of Signals. AR Frequency Estimation.

Exercises. References.


The Discrete Fourier Transform Routine. The Inverse Discrete Fourier Transform. The Fast Fourier Transform Routine. The Inverse FFT Routine. Windowing Routines. Magnitude, Phase, and Logarithmic Displays. Optimizing The FFT for Real Input Sequences. Fourier Transform Examples.

FFT Test Routine. DFT Test Routine. Inverse FFT Test Routine. Real FFT Test Routine.

Fast Convolution Using the FFT. Power Spectral Estimation. Interpolation Using the Fourier Transform. Exercises. References.

6. Matrix and Vector Routines.

Vector Operations.

Vector Arithmetic. Example Vector Operations. Cross Correlation and Autocorrelation.

Matrix Operations.

Matrix Element Manipulation. Matrix Arithmetic. Matrix Inversion. Matrix Determinant. Example Matrix Routine.

Matrix Disk Storage. Least Squares Curve Fitting.

Least Squares Routine. Curve-Fitting Examples.

Exercises. References.

7. Image Processing Routines.

Transform Techniques in Image Processing.

Discrete Cosine Transform Image Compression. Coefficient Quantization in the Compressed Image. Block Coding. Discrete Cosine Transform Functions. Image Compression Routine. Image Recovery Routine. Compression And Recovery of an Image.

Histogram Processing.

Histogram Function. Histogram-Flattening Routine. Histogram-Flattening Example.

Two-Dimensional Convolution.

Convolution Speed-Up. Two-Dimensional Convolution Function. Example Convolution Routine. Two-Dimensional FFT Convolution. Edge Detection Using Convolution. Edge Detection Routine.

Nonlinear Processing of Images.

Median Filtering. Erosion And Dilation.

Exercises. References.

Appendix A: Standard C++ Class Library.

Math Functions.

Trigonometric Functions. Exponential, Log, Power, Square Root. Hyperbolic Functions. Absolute Value, Floor, Ceiling. Euclidean Distance.

Character String Functions.

Convert String to Double-Precision Number. Convert String to Integer. Number to String Conversion. String Manipulation Functions.

Memory Allocation Operators. Standard Input/Output Classes.

Get a Character from a Stream. Get a String from a Stream. Get a Block of Data from a Stream. Get a Class from a Stream. Send a Character to a Stream. Send a String or Block of Data to a Stream. Open a File. Determine the Position of a File Pointer. Reposition a File Pointer. Close a File. Formatted Output Conversion. Formatted Input Conversion.

Other Standard Functions.

Random Number Generator. Quick General Sort. Terminate a Process and Close Files.

Appendix B: DSP Function Library and Programs.

Library Functions.

User Interface Functions. Disk Storage Functions. Filter Functions. DFT Functions. Matrix Functions. Image-Processing Functions.


WINPLOT Program. File Format Conversion Programs.



Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership