Math::FresnelZoneMath::FresnelZone is a Perl extension for calculating the Fresnel Zone Radius of a given distance and frequency. | |
Download |
Math::FresnelZone Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Daniel Muey
- Publisher web site:
- http://search.cpan.org/~dmuey/
Math::FresnelZone Tags
Math::FresnelZone Description
Math::FresnelZone is a Perl extension for calculating the Fresnel Zone Radius of a given distance and frequency. SYNOPSIS use Math::FresnelZone; use Math::FresnelZone qw(fresnel fresnelMi fresnelKm);The arguments are: 0 - distance in kilometers or miles (default is 1), 1 - frequency in GHz (defualt 2.4), 2 - set to true to specify that the distance you are inputting is in miles and that the results should be in in feet (default is 0 - IE kilometers/meters)fresnel() my $fresnel_zone_radius_in_meters = fresnel(); # fresnel zone radius in meters for 1 kilometer at 2.4 GHz my $fzr_in_meters = fresnel(5); # fresnel zone radius in meters for 5 kilometers at 2.4 GHz my $fzr_in_meters = fresnel(5,4.8); # fresnel zone radius in meters for 5 kilometers at 4.8 GHz my $fzr_in_feet = fresnel(3,9.6,1); # fresnel zone in feet for 3 miles at 9.6 GHzIf you are inputting Kilometers the result is in meters (these 3 calls have identical results): fresnel($Km,$GHz); fresnelKm($Km,$GHz); # see documentaion below for info about fresnelKm() fresnel($Km,$GHz,0);If you are inputting Miles (by specifying a true value as the 3rd argument) the result is in feet (these 2 calls have identical results) fresnel($Mi,$GHz,1); fresnelMi($Mi,$GHz); # see documentaion below for info about fresnelMi()fresnelKm()You can use this to make it easier to avoid ambiguity if are working in kilometers/meters. It takes the first two arguments only: distance in kilometers and frequency in GigaHertz my $fzr_in_meters = fresnelKm($Km,$GHz);fresnelMi()You can use this to make it easier to avoid ambiguity if are working in miles/feet. It takes the first two arguments only: distance in miles and frequency in GigaHertz my $fzr_in_feet = fresnelMi($Mi,$GHz); Requirements: · Perl
Math::FresnelZone Related Software