Way to determine Look-up table values from input/output data

3 views (last 30 days)
Here's what I'm trying to do:
I have 3 Look-up tables in series in a Simulink model. I would like to replace with a single look-up table.
I see that I can determine lookup tables parameters from input/output data using the Simulink Design Optimization Toolbox (which I do not have here, unfortunately, but have lots of other toolboxes). Is there any other method I could use?
Thanks in advance for any help,
-Matt Lawson

Answers (2)

Kaustubha Govind
Kaustubha Govind on 26 Jan 2012
The Curve Fitting Toolbox is ideal for this sort of thing, but I've also used the fixpt_look1_func_approx utility to achieve the same sort of thing before. (I can't speak for which might be a better option)
  2 Comments
Matt Lawson
Matt Lawson on 26 Jan 2012
Hi Kaustubha,
I looked at fixpt_look1_func_approx and you need to specify the f(x) which I don't have, not sure how I could use that.
I'm looking at the Curve Fitting Toolbox, hopefully will find a function that will work there. Any recommendations? Thanks.
Kaustubha Govind
Kaustubha Govind on 26 Jan 2012
Ah! You're right - it's been a while since I used that function. I haven't used the Curve Fitting Toolbox, so can't offer much useful advice there. But I just remembered about the polyfit function - it does Polynomial curve fitting.

Sign in to comment.


Fa Fa
Fa Fa on 25 Jun 2012
Hi All, i like to create lookup tables of 511 local binary pattern, also from 10000000 bis 111111110, can somebody help, Thanks

Community Treasure Hunt

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

Start Hunting!