Home > Angelas_Raster_Code > lukesSatChanFinder.m

lukesSatChanFinder

PURPOSE ^

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 d = read_arcSouth('23-Feb-2014:17:39:44','23-Feb-2014:18:14:08')
0002 
0003 %% Find the channel the satelite is broadcasting in
0004 i=1;
0005 while i<63
0006     score(i) = sum( d.antenna0.roach1.LL(:,i) );
0007     i=i+1;
0008 end
0009 
0010 % Pick the best score index
0011 [maxScore,maxScoreIndex ] = max( score );
0012 channel = maxScoreIndex
0013 
0014 % Plot this to check it is sensible
0015 figure
0016 plot( d.antenna0.roach1.LL(:,channel),'.' )
0017 figure
0018 plot( score )
0019

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