Problems with ellipse1 displacement

2 views (last 30 days)
Hans
Hans on 10 May 2014
Edited: Hans on 11 May 2014
Hello,
I have lately been using ellipse1 to great success to plot tidal ellipses. Now I really would like to plot the ellipses on a map, but i cant displace the center of the ellipse with more than about 85 in the x and y direction. If I try with say 200, it only becomes a straight line.
In [lat,lon] = ellipse1(lat0,lon0,ellipse,offset) I have lat0 and lon0 values of several thousand, so I could really need some tips to how I can buypass this problem/limitation to the ellipse1 function.
Example of the data I am using in ellipse1:
ellipse
0.5423 0.9929
0.9595 0.9919
0.3552 0.9984
0.9935 0.9922
1.8352 0.9943
0.1115 0.9767
1.6259 0.9950
0.0721 0.9835
offset
21.9096
12.0481
29.3004
17.2923
5.2085
93.3979
5.2453
117.5248
Thanks in advance,
Hans

Answers (0)

Community Treasure Hunt

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

Start Hunting!