Free Falling Body Kalman Filter Matlab

조회 수: 4 (최근 30일)
HATIQAH ANIS
HATIQAH ANIS 2021년 7월 14일
댓글: HATIQAH ANIS 2021년 7월 19일
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?

채택된 답변

Image Analyst
Image Analyst 2021년 7월 14일
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
Image Analyst
Image Analyst 2021년 7월 19일
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?
HATIQAH ANIS
HATIQAH ANIS 2021년 7월 19일
Its because the first graph is the exact graph for the question (data given in the table). I don't have the code for the question.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by