Borrar filtros
Borrar filtros

i need the code for the below graph.

2 visualizaciones (últimos 30 días)
Sanjay Kumar
Sanjay Kumar el 29 de Feb. de 2024
Comentada: Voss el 29 de Feb. de 2024
  7 comentarios
Sanjay Kumar
Sanjay Kumar el 29 de Feb. de 2024
this is the algorithm
Voss
Voss el 29 de Feb. de 2024
Are you having trouble implementing the algorithm in MATLAB or are you having trouble creating the plot in MATLAB?

Iniciar sesión para comentar.

Respuestas (1)

Voss
Voss el 29 de Feb. de 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')

Productos


Versión

R12.1

Community Treasure Hunt

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

Start Hunting!

Translated by