Calculate Dip, Strike, and Azimuth from the equation of a plane (Matlab)

7 views (last 30 days)
Hello Experts,
I have a matlab code which computes a first order polynomial fit for a 3D data set (i,j,k) which represents a plane (surface).
I'm using fit function in Matlab with 'poly11' fittype.
Code: *fitPlane = fit([i, j], k, 'poly11');*
This gives my the following coeffs.
Linear model Poly11: *f(x,y) = p00 + p10*x + p01*y* where x is normalized by mean 260.9 and std 101.1 and where y is normalized by mean 230.9 and std 102 Coefficients (with 95% confidence bounds):
p00 = 1042 (1041, 1042)
p10 = 25.17 (24.94, 25.4)
p01 = -43.33 (-43.56, -43.1)
From *f(x,y) = p00 + p10*x + p01*y* equation, I want to calculate Dip, Azimuth and Strike angles of the plane. Any ideas will be much appreciated. Thanks

Answers (0)

Community Treasure Hunt

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

Start Hunting!