nagyprism(x1,x2,y1,y2,h,rho)
A function to perform terrain corrections using the Nagy prism formula.
To calculate the terrain correction for a block of topography
with coordinates (x1,y1) (x2,y1) (x1,y2) (x2,y2) in the x,y plane and
height h all in metres.
.....................................................
..................__________...............
................/!.................../!↑.............
............../_!________./..!↑.............
..............!..!................!...!h ............
..............!..!................!...!↓.............
..............!..!................!...!↓.............
..............!..!................!...!↓.............
..............!..!(x1,y2).....!_.!(x2,y2)....
..............!./.................!./................
(x1,y1)...!/_________!/(x2,y1).....
with density rho in Mg/m3, the terrain correction T is given by
T = nagyprism(x1,x2,y1,y2,h,rho)
The function can also handle vectors of coordinates, x1,x2,y1,y2,h so that the total correction for multiple pieces of terrain can also be calculated at once.
Cite As
Jack (2024). nagyprism(x1,x2,y1,y2,h,rho) (https://www.mathworks.com/matlabcentral/fileexchange/57349-nagyprism-x1-x2-y1-y2-h-rho), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Mathematics and Optimization > Mapping Toolbox > Data Analysis >
- Radar > Mapping Toolbox > Data Analysis >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Updated description Updated description
|