lookup table in simulink
15 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
bhaskar ponnana
le 23 Sep 2019
Modifié(e) : Jim Riggs
le 23 Sep 2019
Hi All ,
I am new to simulink . I am trying to create a look up table with certain correction factor values . Problem that I face is that my breakpoints are not evenly spaced so when I use simulink 1D lookup table block , I get error . Any work around for this problem .
Thanks in advance
0 commentaires
Réponse acceptée
Jim Riggs
le 23 Sep 2019
There is no reason that non-uniform breakpoint spacing should be causing an error with the 1D interpolation function. I think that the error is from some other cause. You need to provide more information.
How are you defining the interpolation table (can you show the values)
What exact error message is being given?
2 commentaires
Jim Riggs
le 23 Sep 2019
Modifié(e) : Jim Riggs
le 23 Sep 2019
OK. It's not the breakpoint spacing, but that the values are decreasing.
You can simply flip the table so that the breakpoints are increasing.
Also, the requirement for monotonicity applies ONLY to the breakpoints. The data values associated with them can be anything.
Plus de réponses (0)
Voir également
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!