Software Listing of Author : "Rick Mcconnell"
- 2 element antenna array with spherical rotation
- License: Freeware
- Price: 0.00


This file takes a patch antenna and a dipole, rotates the dipole, and calculates the overall output levels, taking into consideration the array pattern, and a variable combiner. There are extensive comments to show what was being attempted, and some commented out sections to show how the file was debugged and some variations of analysis that could be done.
- Publisher: Rick McConnell
- Date Released: 10-02-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- Basic MASH 111 Sigma Delta Simulation
- License: Shareware
- Price:


This simulation was generated to compare the MASH 111 SDM with other types of SDMs. This file outputs the average fraction to compare with the one specified as an input, and plots the noise. The Multi-feedback SDM which this was compared to is submitted in a separate posting.
- Publisher: Rick McConnell
- Date Released: 18-01-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- Circular Cross Correlation of the Columns of an Array - circ xcorr
- License: Freeware
- Price: 0.00


The program takes the columns of an input matrix and calculates the auto and cross correlation of these columns using an fft method. The result is very similar to the xcorr function. This method could be used to evaluate the cross correlation of repeating code sequences, and other similar investigations. An n x m matrix in will result in an n x m^2 matrix out. There is a waitbar included to remove the mystery of how long the calculation will take.
- Publisher: Rick McConnell
- Date Released: 21-02-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- Generate FM noise sidebands on a carrier using randn fn
- License: Freeware
- Price: 0.00


The file calculates and plots FM noise sidebands for a carrier. It also does sinusoidal modulation. This simple way of adding noise to a carrier is useful for simulation of PLLs. It turns out, though, that the mean of the randn function is not as close to zero as it could be, and this causes the fft to generate extra sideband energy, which makes it appear as if the noise is not what would be expected. This program gets around this by adding a fudge factor to the randn results to eliminate this problem. It took me ages to figure this out, I hope to reduce a similar effort for others.
- Publisher: Rick McConnell
- Date Released: 05-01-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- Limiting Amplifier using IP3 and IP2 and tanh
- License: Shareware
- Price:


We build a signal limiting function that is specified by IP2 and IP3. We construct a time domain function that can be used in s system to generate non-linearity. IP2 and IP3 can be specified in a specific way, and the function is modified so it performs as specified. This function can be placed after a gain block to introduce non-linear operation. There are copious descriptions.
- Publisher: Rick McConnell
- Date Released: 05-01-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- limiting amplifier using IP3 and tanh
- License: Shareware
- Price:


Generate a function to represent limiting, using IP3 to specify the operation This file shows how to specify a limiting function with IP3. The limiting is done using tanh. The file also checks out the operation of the function and compares it to the specified IP3. It shows a technique that can be used by other limiting functions so they can use IP3 to specify their operation. There are copious notes to help understanding the steps.
- Publisher: Rick McConnell
- Date Released: 27-01-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- LO Sideband with spurs converted to Jitter
- License: Freeware
- Price: 0.00


This program converts the noise sidebands to power, adds in an estimate of the power for CW spurs, then calculates the jitter from this. It is not really exact, but it is simple and allows for an easy estimate of the jitter and phase noise without special tools.
- Publisher: Rick McConnell
- Date Released: 12-01-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- Pll Loop Filter Time Domain Analysis
- License: Freeware
- Price: 0.00


This is a simple program written so the equations look like classical matrix equations and it solves the voltage out of the standard current driven loop filter. This is intended to be used in some future PLL analysis program, but it outlines the way to set up the equations, and solve them. There are other. more comprehensive SPICE like programs available, but this gives you the idea in an appropriate format, and can be adopted for analysis of other small circuits. There are explanations throughout the file. The input is a simple sinusoid, this can be replaced by some more complex waveform. As usual, this file needs just basic MatLab.
- Publisher: Rick McConnell
- Date Released: 07-04-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- Read the errors from a 53132A counter using GPIB
- License: Freeware
- Price: 0.00


This code controls the 53132A counter and looks at the stored error codes. It is used with data collection modules to debug the code and find which lines cause problems. It can be tailored to work with any GPIB device. It was written to help debug the testCounter.m file uploaded here, but it can be modified to run with most GPIB devices.
- Publisher: Rick McConnell
- Date Released: 17-06-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- Run a 53132A counter with a USB GPIB interface
- License: Freeware
- Price: 0.00


Control a 53132A counter remotely using standard Matlab without the instrument module by treating the GPIB USB interface as a com port. There are lots of little tricks to get this to work. This module also uses a small program SystemError, which is also uploaded to this site, to help debug this type of code.
- Publisher: Rick McConnell
- Date Released: 19-01-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- Set up the Environment for a Receiver Analysis
- License: Freeware
- Price: 0.00


This file sets up a simulation environment for analyzing receive systems, gives a basic example, and checks that the results reflect the setup. It is handy because it allows the basic simulation environment to be specified quickly and easily, generates a bunch of useful variables, and takes care of the details of setting the signal to noise. This means the operator can quickly get on with the analysis without having to set up the environment each time.
- Publisher: Rick McConnell
- Date Released: 12-01-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- Simple Method to Generate a CDF plot
- License: Shareware
- Price:


If you have a data file and want to plot a cumulative distribution function (CDF) with almost no work, this is the way to go. Also presented is a way to grab some values from the CDF curve, and a way to generate a PDF using standard Matlab functions.
- Publisher: Rick McConnell
- Date Released: 12-02-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- SNR for Coherent and Non-Coherent Filtering
- License: Freeware
- Price: 0.00


A number of rules of thumb exist for the advantages of non-coherent averaging, I wanted to see, in a fairly practical way, what the advantage really was. This turned out to be more complex than I thought, because you have to identify and implement separate parts to the equations for the output noise. This file generates the input SNR, the Output SNR with no filtering, with coherent filtering, and with non-coherent filtering. I have added extensive notes to document my ignorance.
- Publisher: Rick McConnell
- Date Released: 09-06-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts