Skip to Content
Digital Signal Processing: A Practitioner's Approach
book

Digital Signal Processing: A Practitioner's Approach

by Kaluri V. Rangarao, Ranjan K. Mallik
January 2006
Intermediate to advanced
191 pages
4h 10m
English
Wiley
Content preview from Digital Signal Processing: A Practitioner's Approach

APPENDIX

MATLAB and C Programs

We consider this to be the most important part of the book. Each program was tested and has a comment statement to say which figures it generates; this is to put the reader at ease while running the program. Try to play with the programs by manipulating various parameters to see their effects. We have repeated the relevant chapter summary at the start of Section A.1 to A.6.

A.1 Chapter 1 MATLAB Programs

In this chapter we discussed the types of signals and the transformations a signal goes through before it is in a form suitable for input to a DSP processor. We introduced some common transforms, time and frequency domain interchanges, and the concepts of windowing, sampling and quantisation plus a model of an A/D converter. The last few sections give a flavour of DSP.

A.1.1 Program f1_1234

%Digital Signal Processing:A Practitioner's Approach
%Dr.Kaluri Venkata Ranga Rao, kaluri@ieee.org
%Generates figures 1.1, 1.2
% Generations of Signals for 1st Chapter
% 25th July 2003
clear;clf;
% Narrow Band Signal
fc=0.3; wn_upper=fc+fc*0.01; wn_lower=fc-fc*0.01;
wn=[wn_lower wn_upper];
[b,a]=butter(2,wn);
t=1:1000; u=randn(size(t));
 y=filter(b,a,u); [sx,f]=spk(y,1); subplot(221);plot(t,y);grid; title(‘A’) xlabel(‘ Time ’) subplot(222);plot(f,sx);grid; title(‘B’) xlabel(‘ Frequency ’) %title (‘Fig 1.1’); pause; %print –depsc f1_1; %title(‘Fig 1.2’); %print –depsc f1_2; pause; % Broad band signal fc=0.6; wn_upper=fc+fc*0.1; wn_lower=fc-fc*0.1; wn=[wn_lower ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

A Simple Approach to Digital Signal Processing

A Simple Approach to Digital Signal Processing

Craig Marven, Gillian Ewers
Trends in Digital Signal Processing

Trends in Digital Signal Processing

Yong Ching Lim, Hon Hon Keung Kwan, Wan-Chi Siu

Publisher Resources

ISBN: 9780470017692Purchase book