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

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

답변 (2개)

Kaustubha Govind
Kaustubha Govind 2012년 1월 26일

0 개 추천

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

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.
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.

댓글을 달려면 로그인하십시오.

Fa Fa
Fa Fa 2012년 6월 25일

0 개 추천

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

카테고리

도움말 센터File Exchange에서 Lookup Table Tuning에 대해 자세히 알아보기

질문:

2012년 1월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by