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

Store first n natural no in a file - c program, Program is to store first n...

Program is to store first n natural no in a file: Write a program to  store first n natural no in a file void main()     {     fstream file;     file.open("studen

Explain function templates, Function Templates Function templates give ...

Function Templates Function templates give you with the capability to write a one function that is a skeleton, or template, for a family of similar functions. In function ov

Eevrv, Ask question #Mi fd d fffffffffffffffffffffffffffffffffffffffffff...

Ask question #Mi fd d fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff

Stack, Implement multiple stacks in a single dimensional array. Write algor...

Implement multiple stacks in a single dimensional array. Write algorithms for various stack operations for them.

Calculate the discharge by c program, #include stdio.h #include math.h ...

#include stdio.h #include math.h float discharge(float,float); void main()   {   char prompt;      float time,out,cr;   cr = 100e-6;   for (time = 0;time   {   /* call th

Area under curve, a program to find the area under curve y=f(x) between x=a...

a program to find the area under curve y=f(x) between x=a and x=b,integrate y=f(x) between the limits of a and b.   #include float start_point, /* G

Electrical eng, calculate the total resisitance of a series circuit?

calculate the total resisitance of a series circuit?

Explain class templates, Class Templates In addition to function  templ...

Class Templates In addition to function  templates, C++  also supports the  method of class templates. By definition, a class template is a class definition that explains a fam

Program to determine the number is prime or not, Write a function to determ...

Write a function to determine whether a number is prime: it will return true if the input is prime and false otherwise. Use it to see whether -7 is prime.

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