]> Creatis software - CreaPhase.git/blob - octave_packages/mapping-1.0.7/doc-cache
Add a useful package (from Source forge) for octave
[CreaPhase.git] / octave_packages / mapping-1.0.7 / doc-cache
1 # Created by Octave 3.6.1, Tue Apr 03 20:39:46 2012 UTC <root@t61>
2 # name: cache
3 # type: cell
4 # rows: 3
5 # columns: 6
6 # name: <cell-element>
7 # type: sq_string
8 # elements: 1
9 # length: 7
10 azimuth
11
12
13 # name: <cell-element>
14 # type: sq_string
15 # elements: 1
16 # length: 788
17  -- Function File:  AZ = azimuth(LAT1,LON1,LAT2,LON2)
18  -- Function File:  AZ = azimuth(LAT1,LON1,LAT2,LON2,UNITS)
19  -- Function File:  AZ = azimuth(PT1, PT2)
20  -- Function File:  AZ = azimuth(PT1, PT2,UNITS)
21      Calculates the great circle azimuth from a point 1 to a point 2.
22      The latitude and longitude of these two points can either be given
23      independently or as columns of the matrices PT1 and PT2 in the
24      form [latitude longitude].
25
26      The units for the input coordinates and output angles can be
27      "degrees" (the default) or "radians".
28
29           >> azimuth([10,10], [10,40])
30           ans = 87.336
31           >> azimuth([0,10], [0,40])
32           ans = 90
33           >> azimuth(pi/4,0,pi/4,-pi/2,"radians")
34           ans = 5.3279
35
36      See also: elevation, distance
37
38
39
40
41
42 # name: <cell-element>
43 # type: sq_string
44 # elements: 1
45 # length: 64
46 Calculates the great circle azimuth from a point 1 to a point 2.
47
48
49
50 # name: <cell-element>
51 # type: sq_string
52 # elements: 1
53 # length: 7
54 deg2rad
55
56
57 # name: <cell-element>
58 # type: sq_string
59 # elements: 1
60 # length: 115
61  -- Function File:  ANGLOUT = deg2rad(ANGLIN)
62      Converts angles input in degrees to the equivalent in radians.
63
64
65
66
67 # name: <cell-element>
68 # type: sq_string
69 # elements: 1
70 # length: 62
71 Converts angles input in degrees to the equivalent in radians.
72
73
74
75 # name: <cell-element>
76 # type: sq_string
77 # elements: 1
78 # length: 8
79 distance
80
81
82 # name: <cell-element>
83 # type: sq_string
84 # elements: 1
85 # length: 357
86  -- Function File:  DIST = distance(PT1, PT2)
87      Calculates the distance (in degrees) between PT1 and PT2.
88
89      PT1 and PT2 are two-column matrices of the form [latitude
90      longitude].
91
92           >> distance([37,-76], [37,-9])
93           ans = 52.309
94           >> distance([37,-76], [67,-76])
95           ans = 30.000
96
97      See also: azimuth, elevation
98
99
100
101
102
103 # name: <cell-element>
104 # type: sq_string
105 # elements: 1
106 # length: 57
107 Calculates the distance (in degrees) between PT1 and PT2.
108
109
110
111 # name: <cell-element>
112 # type: sq_string
113 # elements: 1
114 # length: 6
115 km2deg
116
117
118 # name: <cell-element>
119 # type: sq_string
120 # elements: 1
121 # length: 149
122  -- Function File: A = km2deg(X)
123      Convert a distance along a great circle of the Earth from km to
124      degrees. A radius of 6371 km is assumed.
125
126
127
128
129 # name: <cell-element>
130 # type: sq_string
131 # elements: 1
132 # length: 72
133 Convert a distance along a great circle of the Earth from km to
134 degrees.
135
136
137
138 # name: <cell-element>
139 # type: sq_string
140 # elements: 1
141 # length: 7
142 rad2deg
143
144
145 # name: <cell-element>
146 # type: sq_string
147 # elements: 1
148 # length: 115
149  -- Function File:  ANGLOUT = rad2deg(ANGLIN)
150      Converts angles input in radians to the equivalent in degrees.
151
152
153
154
155 # name: <cell-element>
156 # type: sq_string
157 # elements: 1
158 # length: 62
159 Converts angles input in radians to the equivalent in degrees.
160
161
162
163 # name: <cell-element>
164 # type: sq_string
165 # elements: 1
166 # length: 6
167 reckon
168
169
170 # name: <cell-element>
171 # type: sq_string
172 # elements: 1
173 # length: 628
174  -- Function File: [LATO,LONO] =  reckon(LAT,LON,RANGE,AZIMUTH)
175  -- Function File: [LATO,LONO] =  reckon(LAT,LON,RANGE,AZIMUTH,UNITS)
176      Compute the coordinates of the end-point of a displacement on a
177      sphere. LAT,LON are the coordinates of the starting point, RANGE
178      is the covered distance of the displacements along a great circle
179      and AZIMUTH is the direction of the displacement relative to the
180      North.  The units of all input and output parameters can be either
181      'degrees' (default) or 'radians'.
182
183      This function can also be used to define a spherical coordinate
184      system with rotated poles.
185
186
187
188
189 # name: <cell-element>
190 # type: sq_string
191 # elements: 1
192 # length: 71
193 Compute the coordinates of the end-point of a displacement on a sphere.
194
195
196
197
198