Filter löschen
Filter löschen

i need the code for the below graph.

2 Ansichten (letzte 30 Tage)
Sanjay Kumar
Sanjay Kumar am 29 Feb. 2024
Kommentiert: Voss am 29 Feb. 2024
  7 Kommentare
Sanjay Kumar
Sanjay Kumar am 29 Feb. 2024
this is the algorithm
Voss
Voss am 29 Feb. 2024
Are you having trouble implementing the algorithm in MATLAB or are you having trouble creating the plot in MATLAB?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Voss
Voss am 29 Feb. 2024
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')

Produkte


Version

R12.1

Community Treasure Hunt

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

Start Hunting!

Translated by