Free Falling Body Kalman Filter Matlab
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
HATIQAH ANIS
le 14 Juil 2021
Commenté : HATIQAH ANIS
le 19 Juil 2021
I have this data. The table shows free falling body examples. I have to plot a graph for "True values" Position, x1, Estimates Position x1(k), and Measurement z(k). How can I plot this table in MATLAB?

0 commentaires
Réponse acceptée
Image Analyst
le 14 Juil 2021
plot(t, x1True, 'b.-', 'LineWidth', 2);
plot(t, x1Estimate, 'r.-', 'LineWidth', 2);
ylabel('x1', 'FontSize', 18);
xlabel('t', 'FontSize', 18)
grid on;
legend('x1 True', 'x1 Estimate');
I'm not sure what you're calling Measurement z, but you'd use the plot() function like above.
4 commentaires
Image Analyst
le 19 Juil 2021
I'd guess that the first graph was made by an entirely different program. Do you have that code? Why do you think yours should look the same?
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

