i need the code for the below graph.

2 次查看(过去 30 天)
Sanjay Kumar
Sanjay Kumar 2024-2-29
评论: Voss 2024-2-29
  7 个评论
Voss
Voss 2024-2-29
Are you having trouble implementing the algorithm in MATLAB or are you having trouble creating the plot in MATLAB?

请先登录,再进行评论。

回答(1 个)

Voss
Voss 2024-2-29
I don't have the data, so I can't generate that exact plot, but here's a similar one:
x = -25:245;
y = (x+25).'.*[0.5 0.45]-75;
plot(x,y(:,1),'r','LineWidth',3);
hold on
plot(x,y(:,2),'Color',[0.75 0.75 0],'LineWidth',2)
grid on
xlabel('Meters')
ylabel('Meters')
legend({'GPS ground trooth','Spufed trajectory'},'Location','NorthWest')

产品


版本

R12.1

Community Treasure Hunt

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

Start Hunting!

Translated by