3D Lookup Table made with 2D Lookup Tables
Show older comments
Hello,
I need to construct a 3D lookup table with a combination of 2D lookup tables, in other words I should process the output of the 2D maps to carry out the same functions as a 3D lookup table. Since those blocks are using interpolation/extrapolation techniques, simple switches do not work...
My block data for 3D lookup table:
data_3d(:,:,1) =
54 14 84
13 25 25
data_3d(:,:,2) =
81 92 19
24 34 25
For the values around 1, I thought the switch should take the values of the first 2D lookup table, otherwise it should pass the values of second 2D lookup table. I know this is a very simple logic for this kind of a question but I am trying my best! Any ideas or information will be much appreciated! (Sine waves have 3 units of amplitude and 1 Hz of frequency)

The output I should get:

The output I got:

Accepted Answer
More Answers (0)
Categories
Find more on Nonlinearity in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!