# Finding location of CPA(Closest point of approach) of two ships using MATLAB code

Hello.

My sample data is constructed the structure type of Matlab.

My data description is as follows;

The contents of sample data are ship’s data(date, time, longitude, latitude, speed, course) according to each ship id(MMSI).

The time interval of ship’s location is 2~35 second(less than 180 second).

So, that’s why ship’s data was interpolated per second.

The interpolated data was changed to bigger size than the original data.

I shared you my interpolated data, matlab function and powerpoint on google drive.

[url removed, login to view]

The CPA means as follows;

An estimated point in which the distance between two ships. abbreviated CPA(Closest Point of Approach).

The estimate is used to evaluate the risk of a collision of two ships.

I shared one video recording file for explanation of CPA concept on google drive.

[url removed, login to view]

You can see that as time goes by, CPA and TCPA changed on video file.

I have a matlab algorithm(function) about CPA. The algorithm was made from a journal.

I attatched an algorithm function about CPA.

My data is 250 ships.

Example

May first, 2014

If No.1 ship and No.2 ship in same date and time, I want to calculate DCPA, TCPA and range using my algorithm function.

And then, I want to select latitude and longitude for plotting location which is risk of collision of two ships.

(criterion lower than DCPA 0.15 nautical mile and lower than TCPA 3 minute).

...

No.1 and [url removed, login to view] should be calculated DCPA, TCPA and range.

And then, I want to select latitude and longitude for plotting location which is risk of collision of two ships.

No.2 and No.3 should be calculated DCPA, TCPA and range.

And then, I want to select latitude and longitude for plotting location which is risk of collision of two ships.

...

No.2 and [url removed, login to view] should be calculated DCPA, TCPA and range.

And then, I want to select latitude and longitude for plotting location which is risk of collision of two ships.

...

[url removed, login to view] and [url removed, login to view] should be calculated DCPA, TCPA and range.

And then, I want to select latitude and longitude for plotting location which is risk of collision of two ships.

May second, 2014 => same procedure.

May third, 2014 => same procedure.

...

last day

My purpose of this study is to find where is risk area of collision of two ships.

I have big data which is bigger than 4.0GB.

So, please should be considered speed for execution.

Is there anyone coding my project?

criterion 1. range - lower than range(=distance between two ships) 1 nautical mile
criterion 2. DCPA - lower than DCPA 0.15 nautical mile,
criterion 3. TCPA - lower than TCPA 3 minute

I want to extract the location(=latitude and longitude) of CPA(=closest point of apprach) based on three criterion.
When calculating of CPA between two ships, the location of two closest points is a relatively small difference.
So, I want to extract the location of one ship. not two location of two ships.

Ship’s speed and course is different per second due to wind and current.
That’s why I think it should be calculated every second.

If very long time to calculate data, I think you can work on the data by every one minute or every 30 second. not by one second.
The speed of execution will be better.

Skills: Matlab and Mathematica

( 26 reviews ) undefined, Korea, Republic of

Project ID: #11736281

## Awarded to:

\$166 USD in 4 days
(1 Review)
0.8

## 12 freelancers are bidding on average \$162 for this job

hmramezani

Dear employer, I am a senior PhD student in the field of signal processing, and networking at one the top rank universities, namely TU-Delft. I have a solid background in analog/digital communication systems, and ( More

\$250 USD in 7 days
(108 Reviews)
6.7
kjgroup197318

----------------------------Best Result on Time & Master in Mathematics and Algorithm-----------------------------

\$100 USD in 1 day
(166 Reviews)
6.7
TellezMiotta

Hi! My name is Fernando Téllez. I am a senior year student of electrical engineering at Universidad Simón Bolívar (USB), one of the most prestigious universities in my country (Ranked 34° at the QS University Rankings: More

\$250 USD in 5 days
(23 Reviews)
5.0
kstudio1

Wonderful project! I am a master of mathematics and control engineering. So I will complete your project in time. Thanks a lot.

\$100 USD in 1 day
(29 Reviews)
4.5
\$388 USD in 7 days
(6 Reviews)
4.1
leon0209

Dear Client, I hold master degree in digital image processing. I have been using matlab for more than 10 years. I am to discuss further about this project, I have some queries for you. Here is some of my projects More

\$30 USD in 4 days
(5 Reviews)
4.1
nikisodlan

Hello, I can do this project. I am expert in Matlab. I have done no of project on Matlab. Please open your chat box for more discussion. Area of Interest: Image Processing, Speech & Pattern reorganization, Signal Pro More

\$222 USD in 5 days
(22 Reviews)
4.1
\$250 USD in 1 day
(3 Reviews)
3.5
chyconsl

Hi, I have read and understood the project description and possess the skills required to meet your needs. Please give me a chance and reply. Thanks.

\$277 USD in 5 days
(4 Reviews)
3.9
pkattan

Let me help you complete this project. I understand that you want to use your MATLAB algorithm to find the CPA distance for all the ships. But for how many days? I am interested in this project. I have MS and PhD degre More

\$488 USD in 10 days
(0 Reviews)
0.0
\$25 USD in 1 day
(0 Reviews)
0.0
khoddam

I bid to this project that let you know that your equation for finding distance of two ships is completely wrong. The equations in your matlab file is for Cartesian coordinate system, not spherical. Also you have inte More

\$111 USD in 5 days
(0 Reviews)
0.0
ajay2606

Hello Employer, Experience ************* I have more than 4 years of experience in MATLAB and Python covering the topic of Wireless Sensor Network, Iris Recognition, Image processing, Disease Prediction using Data More

\$222 USD in 3 days
(0 Reviews)
0.0
nitulsodlan1702

Hello, I can do this project. I am expert in Matlab. I have done no of project on Matlab. Please open your chat box for more discussion. Area of Interest: Image Processing, Speech & Pattern reorganization, Signal Pro More

\$25 USD in 1 day
(0 Reviews)
0.0
naveedanjum92786

I read project description completely. I have few years experience of large size data handling in MATLAB. I also have played a lot with lat-long, speeds etc. I can also plot very attractive graphs and GUI in MATLAB. Ju More

\$110 USD in 3 days
(0 Reviews)
0.0