fakhteh
Civil/Environmental
- May 20, 2020
- 1
Hi
please help me
i faced with this error: Error in m1polygon (line 7) :f=dms2degrees(s)
please run this code and help me to correct it
you know that sum of angels in polygons can find with (n-2)*180
and when some one obsrved angels in surveying then angels have to be adjusted so corrections must be calculated
this code is for finding correction and applying them to the observed angles. angels from observation are in dms format,that means degree minute secound
clc
clear all
format long g
n=input('[number of angels in your polygon]=');
b=input('[dmsangels]=')
s=sum(b)
f=dms2degrees(s)
s1=(n-2)*(180)
e=s1-f %error
c=e/n %correction
b=f+c
thank you
please help me
i faced with this error: Error in m1polygon (line 7) :f=dms2degrees(s)
please run this code and help me to correct it
you know that sum of angels in polygons can find with (n-2)*180
and when some one obsrved angels in surveying then angels have to be adjusted so corrections must be calculated
this code is for finding correction and applying them to the observed angles. angels from observation are in dms format,that means degree minute secound
clc
clear all
format long g
n=input('[number of angels in your polygon]=');
b=input('[dmsangels]=')
s=sum(b)
f=dms2degrees(s)
s1=(n-2)*(180)
e=s1-f %error
c=e/n %correction
b=f+c
thank you