|
Code Listing by Sathyanarayan Rao |
---|
|
This code solves biot savarts law to evaluate magnetic field from a circular coil at all points in the plane which is perpendicular to the plane of the coil. coil is situated in the X-Y plane centered at origin having radius =6 and we want to evaluate magnetic field at all points in the Y-Z plane. In this program, Y coordinate is from -25 to 25 and Z coordinate is from 0 to 50. I have put many comments so that it will be easier to...
This method allows to use various windows for sidelobe reduction. In this code , this technique is illustrated for a very simple data (sum of three sinusoids). At the end, single sided Power spectral density (PSD) is plotted.
This code illustrates Bartlett method for a simple signal (sum of three sinusoids). This code allows user to change to length of each pieces (sub sequence).For example in the code LS is the term which gives length of each piece. Here it is 30 and...
The five methods compared here are 1) periodogram 2) Corellogram 3) Bartlett 4) Blackman Tookey 5) Welch
Input data = X(t)=cos(f1)+cos(f2)+cos(f3)
Input data=sum of three sinusoids Additive gaussian noise used. At the end, we plot single sided PSD in decibels.
I have used sum of three sinusoids as my data and this program plots single sided PSD at the end. This is a very simple code made to illustrate the algorithm invloved.
In this code , I have not used any windows. First signal is chopped into overlapped pieces and their individual PSD are leter averaged. The degree of overlap is adjustable in this code. For example, the variable OL=50 in the code means, 50% over... |
|
|
All files and free downloads are copyright of their respective owners. We do not provide any hacked, cracked, illegal, pirated version of scripts, codes, components downloads. All files are downloaded from the publishers website, our file servers or download mirrors. Always Virus check files downloaded from the web specially zip, rar, exe, trial, full versions etc. Download links from rapidshare, depositfiles, megaupload etc not published.