Prelookup table - How do I get the indexes & interval fractions (so K and f of the Lookup table) for every column of my input (breakpoint) matrix?

2 views (last 30 days)
Hello guys!
I want to make a Prelookup table in Simulink, to get the indexes & interval fractions (so K and f of the Lookup table) for every column of my input (breakpoint) matrix, which is a 20x50 matrix.
But I cannot get it too work properly.
I tried to give u a certain value where I want to know the indexes of. Lets call this value x. For that I only get one output for k and one for f.
As i said at the beginning I want 50 outputs, so one for every column of the matrix.
Then I tried to create a 1x50 matrix with only the values x, so [x,x,x, ... ,x]. For that I got 50 outputs which were completly the same, even though every column in my matrix looks different.
So it seems that the Prelookup table is only looking at the first column of my breakpoint matrix.
How do I get that thing to work?
Thanks to everybody trying to help!

Answers (0)

Categories

Find more on Simulink Functions in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!