Near-Field to Far-Field Transformation

Version (10.6 KB) by Chris
This adaption of the awesome NF2FF script takes plain text data sets as its input.
Updated 11 Jun 2010

View License

This is an adaption of the awesome NF2FF script to give the far field characteristics of an antenna from the near-field data set. The adaption makes no changes to the calculations but replaces the complex data set with text based input files.

This allows two text files (co- and cross-planar) of the format:
x(mm) y(mm) real(data) imag(data)
-700 -700 0.00004 -0.00009
-700 -690 0.00012 0.00016

to be used as the input data sets. Before using them the heading row needs to be removed, so they would become:
-700 -700 0.00004 -0.00009
-700 -690 0.00012 0.00016

The file names expected by the script are:
'Copolar - MATLAB.txt'
'Xpolar - MATLAB.txt'

You will need the rest of the files from the original script and they can be found at:

If you have any questions about the radar pattern parts of the script please refer to the original author.

There are two scripts included, the first is the original script, just modified, for the second removes the extra unused code for extra slots to give a cleaner, more readable script.

Cite As

Chris (2024). Near-Field to Far-Field Transformation (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: NF2FF

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes