standardizePolar
PURPOSE 
sort polar data and ensure polar angle in [0, 2pi)
SYNOPSIS 
function [polarAngle, polarDistance, permutationVector] =standardizePolar(polarAngle, polarDistance)
DESCRIPTION 
CROSS-REFERENCE INFORMATION 
This function calls:
This function is called by:
SOURCE CODE 
0001 function [polarAngle, polarDistance, permutationVector] = ...
0002 standardizePolar(polarAngle, polarDistance)
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024 polarAngle = mod(polarAngle, 2*pi);
0025
0026
0027 [polarAngle, permutationVector] = sort(polarAngle, 'ascend');
0028 polarDistance = polarDistance(permutationVector);
Generated on Sat 18-Jul-2015 16:45:31 by m2html © 2005