Info

此问题已关闭。 请重新打开它进行编辑或回答。

Find differences in polar datasets with different lengths and noise

1 次查看(过去 30 天)
Hello,
I have two noisy measurements of different lengths in polar coordinates and I want to estimate the differences. The following code generates an example.
How is it possible to determine the difference between these two measurements for example with a threshold around each point or how to estimate the directions, where differences occur.
close all;
fig1 = figure('Position', [100 100 1000 800], 'Renderer', 'painters');
N1 = 100;
theta1 = linspace(0,2*pi,N1) + randn(1,N1)*0.1*pi/180;
dist1 = ones(N1,1)*10 + 0.1*randn(N1,1);
N2 = 110; % DIFFERENT LENGTH
theta2 = linspace(0,2*pi,N2) + randn(1,N2)*0.1*pi/180;
dist2 = ones(N2,1)*10 + 0.1*randn(N2,1);
dist2(1:10) = 5+randn(10,1)*0.05; % represents an obstacle
polarplot(theta1,dist1,'.',theta2,dist2,'.','MarkerSize',10);
annotation(fig1,'rectangle',[0.573 0.4925 0.137 0.13625]);

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by