Spherical Triangle Solver
Version 1.0.0 (5.44 KB) by
Sebahattin Bektas
Spherical Triangle Solver This function solves any type of spherical triangle
Spherical Triangle Solver
This function solves any type of spherical triangle
% A spherical triangle has 6 basic elements: three angles (A,B,C) and three sides (a,b,c).
% Given any three of the 6 basic elements, the function finds the other three.
%
% Usage of function
% for example, Given 3 elements of a spherical triangle: a=2, b=3, C=104.4944158
%[A1, B1, A2, B2,C1,C2,a1,b1,a2,b2,c1,c2] = SphericTriangleSolver(A,B,C,a,b,c)
%[A1, B1, A2, B2,C1,C2,a1,b1,a2,b2,c1,c2] = SphericTriangleSolver(0,0,104.4944158,2,3,0)
% Attention, the unknown (A,B,c) 3 elements of the spherical triangle should be replaced with zero.
% A spherical triangle has 6 basic elements: three angles (A,B,C) and three sides (a,b,c).
% Given any three of the 6 basic elements, the function finds the other three.
%
%
% INPUT:
% A,B,C,a,b,c element of spherical triangle. Only 3 values should be entered.
% the others must be zero.
% Inputs units must be [decimal degree]
%OUTPUT:
%
% A1, B1,C1,a1,b1,c1 are 1. solutions of the spherical triangle.
% A2, B2,C2,a2,b2,c2 are 2. solutions of the spherical triangle.
% outputs units are degrees minutes seconds [dd mm ss]
% Usage of function
%[A1, B1, A2, B2,C1,C2,a1,b1,a2,b2,c1,c2] = SphericTriangleSolver(0,0,104.4944158,2,3,0)
% Attention, the unknown, desired 3 elements of the spherical triangle should be replaced with zero.
% Name : Sebahattin Bektas
% E-mail : sbektas@omu.edu.tr
% While preparing this function, Rody P.S. Oldenhuis subfunctions are used.
% Please refer to the following book for more information:
% Bektas S. (2021), Jeodezi 1 Küre yüzeyinde uygulamalar, Atlas Akademi, ISBN:978-605-7839-87-9
Cite As
Sebahattin Bektas (2024). Spherical Triangle Solver (https://www.mathworks.com/matlabcentral/fileexchange/101589-spherical-triangle-solver), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2019b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
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 |