Find Jobs
Hire Freelancers

Troubleshoot MATLAB Code of Model of Objects in a Coordinate Geometry System

$10-20 USD

İptal edildi
İlan edilme: yaklaşık 8 yıl önce

$10-20 USD

Teslimde ödenir
This project will require the troubleshooting of my code. It should take an advanced MATLAB programmer only a short time to figure this out. I have a set of data output by a program simulation that has point objects in space moving with time, with objects occasionally being created and destroyed. The data is organized as follows: for every pair of rows, the first row gives the time and the number of objects in that time, and the second row gives the (x, y) coordinates of each object. The x and y coordinates can take on values between 1 and 200, and the boundary conditions are periodic (this fact might not be relevant to the problem, but appears in the code). A sample from the original data is attached as sample_data1.txt. However, I reformatted the data into a form that I thought was easier to manipulate: I took the transpose so that I can get all the coordinates per time column: t1 t2 t3… x1 x1 x1… y1 y1 y1… x2 x2 x2… y2 y2 y2 … My goal is to find the objects that are created AND destroyed within the timeframe given and analyze them and record the distances traveled by each before they die. I decided to do this by tracing the trajectory of each object in a systematic manner (from the first time column). I loop through each coordinate pair in each time column – and this happens in a bigger loop through all the time periods (hopefully, the code will clarify what I mean by this). I calculate the Euclidean distance traveled between the (x, y) coordinate under consideration, and all possible coordinate pairs in the next time column. Then, I compare these and find the pair that has traveled less than the threshold value for the accepted constant Euclidean distance allowed (in order to consider it as belonging to the same object). If such a coordinate pair exists, I flag those coordinates in a copy of the data matrix so that they cannot be considered as candidates for other objects. Now, the problem is that the simulation (that produces the data that I work with) also gives erroneous data in some time periods. So, for example, (x, y) for t=3 is clearly erroneous in the following data, and it is the same object that goes from t=1 to t=5: time t; coordinates (x, y) t=1; (1.1, 1) t=2; (1.2, 1) t=3; (100, 10) t=4; (1.4, 1) t=5; (1.4, 2) So, I have to allow for these errors in the simulation when I track the objects. I do this by systematically comparing with Euclidean distances in the next three time columns instead of just the next one. So, if I cannot find a match for the object in the next time column, I check with the column after that. If that fails too, I check with the next. Failing that, I mark the object as dead and move to the next object. Now, the problem with my function is that it does not add to final data matrix any objects after the first bigger through the number of time columns. So, for example, if I have the following testing data in [login to view URL] (attached). My function does flag the coordinates of the obvious object that lives on (it has the x, y coordinates (1, 2) all throughout). Yet, I do not want this object because it was not created after the time began. Nevertheless, my function misses the data that I do want to analyze: the object that was created/destroyed in between the time period given. It is born at t=3 and dies at t=7. I used the diary feature to see how exactly my function progresses. The loops do, for example, reach the coordinates (100, 2), and the function acknowledges that it exists (not isnan/empty) – but still, when it dies at t=7, it is not added to the final data matrix. The two functions used in my code are available as attachments ([login to view URL] and [login to view URL]). I will consider those bids that explicitly prove that they have understood my problem. I can provide actual data from the simulation and my complete functions on request. I need this done ASAP. Additionally, a bonus will be added if you have a more efficient and easier solution to the original problem (my goal).
Proje No: 9806974

Proje hakkında

4 teklif
Uzaktan proje
Son aktiviteden bu yana geçen zaman 8 yıl önce

Biraz para mı kazanmak istiyorsunuz?

Freelancer'da teklif vermenin faydaları

Bütçenizi ve zaman çerçevenizi belirleyin
Çalışmanız için ödeme alın
Teklifinizin ana hatlarını belirleyin
Kaydolmak ve işlere teklif vermek ücretsizdir
4 freelancers are bidding on average $46 USD for this job
Kullanıcı Avatarı
---------------Nice job. Best result in time. I am math&matlab expert. No problem-----------------------------
$100 USD 1 gün içinde
4,7 (57 değerlendirme)
5,7
5,7
Kullanıcı Avatarı
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: Latin America 2015). I code using matlab ON A DAILY BASIS to solve any kind of engineering, logical, statistical and mathematical problem.
$83 USD 1 gün içinde
5,0 (11 değerlendirme)
4,5
4,5
Kullanıcı Avatarı
We have a team of expert and we can help you in doing your project such as writing, technical writing, Engineering, PCB designing, FPGA, Verilog /VHDL, MATLAB, Mathematics, Calculus, SPSS, Statistic, CUDA, OpenGL, Pattern recognition, Image processing, signal processing, C++/C programming, ETC. We are ready for hiring right now thanks.
$250 USD 10 gün içinde
4,3 (6 değerlendirme)
3,8
3,8
Kullanıcı Avatarı
Hello Dear! I am professional in MATLAB; I present a high quality and I revise your job several times until you get satisfied 100%. Let me get your job done!
$20 USD 2 gün içinde
0,0 (0 değerlendirme)
0,0
0,0
Kullanıcı Avatarı
------------Very interesting task!------------ I am a master of mathematics and control engineering. If you keep in touch with me, you'll get a successful result in time. Thanks..............
$15 USD 1 gün içinde
0,0 (0 değerlendirme)
0,0
0,0

Müşteri hakkında

   UNITED STATES bayrağı
La Jolla, United States
5,0
2
Ödeme yöntemi onaylandı
Nis 19, 2015 tarihinden bu yana üye

Müşteri Doğrulaması

Teşekkürler! Ücretsiz kredinizi talep etmeniz için size bir bağlantı gönderdik.
E-postanız gönderilirken bir şeyler yanlış gitti. Lütfen tekrar deneyin.
Kayıtlı Kullanıcı İlan Edlien Toplam İş
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Ön izleme yükleniyor
Coğrafik konum için izin verildi.
Giriş oturumunuzun süresi doldu ve çıkış yaptınız. Lütfen tekrar giriş yapın.