How can I import my graph as a signal to Simulink?
조회 수: 16 (최근 30일)
이전 댓글 표시
Hello everyone.
I am trying to build/run a Kalman Filter on Simulink. I have test data that I can use as input to the state space model and I have measurements of the output.
In a .mat file I have the signals as "structures". So in matlab I managed to plot them as a 2D graph.
However, I need to implement them to my Kalman filter on Simulink as signals (I suppose?). I tried the signal builder but I failed from my several attempts.
I also tried to copy my data on the x and y axes to an excel file, then importing it to a signal builder block on Simulink, couldn't manage that either.
I use R2018a version.
Thank you in advance for your answers.
댓글 수: 0
답변 (1개)
Paresh yeole
2020년 7월 14일
Lookup table is what you need. Below is a link for a video on lookup tables:
댓글 수: 2
Paresh yeole
2020년 7월 15일
Use clock as an input for the lookup table. [make sure the no. of data points and your simulation points (sample time * simulation end time) are equal : use fixed step size]
참고 항목
카테고리
Help Center 및 File Exchange에서 Sources에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!