This program performs a 3D raster scan. The calculated x, y, and z coordinates are saved in the RasterScan.txt file. It can be used for radar simulations or other applications requiring raster scanning coordinates.
-
Compile the program
-
Run the compiled program
Enter the requested parameters when prompted:
Period: 100
Azimuth Center: 0
Elevation Center: 0
Width Angle: 20
Height Angle: 20
Fly-back Time: 50
Number of Bars: 3
PRI: 1000
After execution, check the file RasterScan.txt for the generated coordinates.
-0.1419351880, -0.1424315020, -0.9795752496
-0.1368779372, -0.1472982032, -0.9795752496
...
0.7779397232, -0.6277182243, 0.0279216387
0.7993728735, -0.6001861305, 0.0279216387