About 1-d lookup table simulink

2 views (last 30 days)
Hongyu Chen
Hongyu Chen on 27 Sep 2020
Answered: Fangjun Jiang on 28 Sep 2020
I want to use my data in excel to as an input in my system. So I creat something like this.
However, the lookup table output is not the same with what I thought. It is like this
The line above at top is the output of the clock signal, and at the bottom is the output of my lookup table. I want the output should be exactly the same with it on the table block. Can anyone tell me how to correct?
  1 Comment
Sudhakar Shinde
Sudhakar Shinde on 28 Sep 2020
I would say the table data drives output so need to check table data is correct.
Can you share model in which table data is present and the expected output?

Sign in to comment.

Answers (1)

Fangjun Jiang
Fangjun Jiang on 28 Sep 2020
The curve shown at the look-up table block is the full picture of the look-up table data. For example, the range of the input might be from 0 to 500. To generate the same curve, you need to run the simulation long enough to cover the full range of the input data. Also, make sure the Scope shows the full range of data.

Categories

Find more on Nonlinearity in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!