i need the code for the below graph.
2 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1631826/image.jpeg)
7 个评论
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
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')
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Web Services 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!