correcting angels of polygon after inputting observed polygon angels in [dms] type (degree minute second) | MATLAB IoT Analytics | Forum

Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
correcting angels of polygon after inputting observed polygon angels in [dms] type (degree minute second)
No permission to create posts
May 13, 2020
7:40 pm
Avatar
fakhteh
New Member
Members
Forum Posts: 2
Member Since:
May 13, 2020
sp_UserOfflineSmall Offline

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

June 8, 2020
3:39 pm
Avatar
cstapels
Moderator
Members


Moderators
Forum Posts: 849
Member Since:
March 7, 2017
sp_UserOfflineSmall Offline

Id suggest you put this post on MATLAB answers.
https://www.mathworks.com/matlabcentral/answers/index

Forum Timezone: America/New_York

Most Users Ever Online: 166

Currently Online:
21 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 272

Vinod: 240

piajola: 95

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 8665

Moderators: 1

Admins: 2

Forum Stats:

Groups: 3

Forums: 14

Topics: 1600

Posts: 5760

Newest Members:

stonde, aster, R.Colombo, Ben-med, tcpipchip, deekshitha

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457