About 1-d lookup table simulink

2 vues (au cours des 30 derniers jours)
Hongyu Chen
Hongyu Chen le 27 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 commentaire
Sudhakar Shinde
Sudhakar Shinde le 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?

Connectez-vous pour commenter.

Réponses (1)

Fangjun Jiang
Fangjun Jiang le 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.

Catégories

En savoir plus sur Nonlinearity dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by