Stand-alone dsp application, C/C++ Programming

Assignment Help:

You are required to write a stand-alone DSP application in the C programming language.

The overall objective of this application is to convert a signal from the time domain to the frequency domain so that its amplitude spectrum can be observed.

This application will take as its input a digital signal in the time domain (i.e. a sampled waveform) and perform a discrete Fourier transform (DFT) on it to produce its amplitude spectrum which can then be output in numerical and graphical form.

2351_stand-alone DSP application.png

The number of waveform samples input to the algorithm can be chosen by the user to vary anywhere within the range 8 to 1000.  These will be stored in a real array, x[1000].

The resulting amplitude spectrum must be presented to the user in single-sided format and stored in a real array, X[1000].

The application must be tested thoroughly to prove its accuracy.  It is suggested this is done with,

(a) A sinusoid

(b) A squarewave

(c) A waveform consisting of the addition of 3 sinusoids.


Related Discussions:- Stand-alone dsp application

Program to check even and odd numbers, Program to check even and odd number...

Program to check even and odd numbers: int main() {                 int  your_number;                 cout                 cin >> your_number;

What do you mean by inheritance, Inheritance is the process of forming new ...

Inheritance is the process of forming new classes, called derived classes, from existing classes or base classes. The derived class inherits all the capabilities of the base class,

How does a union differ from a structure, Problem: (a) (i) What is a...

Problem: (a) (i) What is a structure? (ii) How does a structure differ from an array? (b) Declare a structure, called account, that will contain the following data me

#title, Given an integer n and a permutation of numbers 1, 2 ... , n-1, n w...

Given an integer n and a permutation of numbers 1, 2 ... , n-1, n write a program to print the permutation that lexicographically precedes the given input permutation. If the given

First line starts with T, Byteland county is very famous for luminous jewe...

Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec

Program to display appropriate message-clients accounts, Question A ban...

Question A bank normally updates it's clients accounts at the end of each month.Of the two types of bank accounts:savings and checking, a client must maintain a minimum balance

C program to store all ascii char into a file, Program is to store all ASCI...

Program is to store all ASCII char into a file: void main()     {   ofstream  fout("ascii.txt");   int i,n=256;   for(i=1;i     {     fout     }

Write a fragment of code that declares a variable, (a) Write a fragment of ...

(a) Write a fragment of code that declares a variable colSp of type ColourSpot, and then moves it to the point (3, -4), and sets its colour to Green. (b) A function QU8 is speci

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd