Code covered by the BSD License  

Highlights from
Fully Automatic Signal Spectrum Analyser

5.0

5.0 | 1 rating Rate this file 21 Downloads (last 30 days) File Size: 2.57 KB File ID: #28688
image thumbnail

Fully Automatic Signal Spectrum Analyser

by aasim Azooz

 

11 Sep 2010

The program produces the frequency spectrum of any signal

| Watch this File

File Information
Description

This program operates as a signal spectrum analyzer and a distortion meter at the same time. It can accept any numerical data representing few cycles of a signal. The data do not need to be equally separated. At least ten data points per cycle are needed. Higher number of data points will of course produce better results. The main advantage of the program is its ability to automatically detect the fundamental frequency. Any part of the spectrum within the frequency band f1-f2 can be calculated and plotted. The input to the software are the time and signal voltage arrays t,v, the frequency band limits f1 and f2 and the accuracy parameter delta. The out puts of the program are the signal plot, the spectral analysis plot, the frequencies and relative amplitudes of the ten most prominent frequency contents. The software has been successfully used to analyze data obtained from oscilloscope screen pictures of many signals using another program written by the author called oscilloscope.
The program can be called through entering
[F,A]=spectrum_analysis(t,v,f1,f2,0.001)
N.B
ONE OTHER PROGRAM NEED TO BE PRESENT IN THE WORK DIRECTORY
It is “maxima” this is in the Zip file

MATLAB release MATLAB 6.5 (R13)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
13 Oct 2010 Walid

thanks a lot, great work !

19 Nov 2011 Saud

I am new in MATLAB spectram analtsis. any body tell me how to run this code. when i try to run this code the following error is coming:

??? Input argument "t" is undefined.

Error in ==> Spectrum_Analyser at 28
[x,y]=maxima(t,v);

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
image processing aasim Azooz 13 Sep 2010 09:36:19
signal processing aasim Azooz 13 Sep 2010 09:36:19
fft Walid 13 Oct 2010 13:27:44
fourrier transform Walid 13 Oct 2010 13:27:58
spectrum Walid 13 Oct 2010 13:28:08
fft Antonio 28 Jun 2011 10:43:41

Contact us at files@mathworks.com