Home > reduc > chan2freq.m

chan2freq

PURPOSE ^

Code to calculate the centre frequency of a given channel for C-BASS S data

SYNOPSIS ^

function [chan_no chan_freq] = chan2freq(chan_no)

DESCRIPTION ^

 Code to calculate the centre frequency of a given channel for C-BASS S data
 Assumes that you have the data in channel order
 128 channels spanning 4.5-5.5 GHz
 ACT 2/7/2014

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [chan_no chan_freq] = chan2freq(chan_no)
0002 
0003 % Code to calculate the centre frequency of a given channel for C-BASS S data
0004 % Assumes that you have the data in channel order
0005 % 128 channels spanning 4.5-5.5 GHz
0006 % ACT 2/7/2014
0007 bottom_nu = 4.5e9;    % Frequecy at bottom of the band
0008 delta_nu  = 1e9/128;  % Channel width = 7.8125 MHz
0009 
0010 chan_no
0011 chan_freq = bottom_nu+(chan_no*delta_nu)
0012 
0013

Generated on Sun 14-Jun-2015 17:12:45 by m2html © 2005