HDL coder for Kalman filter does not simulate

4 views (last 30 days)
I am using the example code mlhdlc_kalman_hdl.m and its mlhdlc_kalman_hdl_tb.m to generate the hdl code. I was able to generate the code, but when i run the test bench the outuputs y1 and y2 never change throughout the simulation. Has anyone ever tested this implementation.

Answers (1)

Anh Tran
Anh Tran on 3 Jan 2018
Hi Reddy,
Are you referring to this example? Notice from figure 4 that the plot of the fixed-point output and the floating-point output looks almost the same. The accuracy difference is so small that you can only observe in "error" plots.
Anh
  2 Comments
Anh Tran
Anh Tran on 4 Jan 2018
Great to hear that it works for you. Cheers!

Sign in to comment.

Categories

Community Treasure Hunt

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

Start Hunting!