How to create the Lookup table in MATLAB Simulink?

5 views (last 30 days)
How to create the lookup table for the above data using MATLAB Simulink?

Answers (1)

Image Analyst
Image Analyst on 12 Feb 2022
lut = zeros(7, 4);
lut(:, 1) = (0:6);
lut(:, 2) = [158;124;157;16;13;14;17];
lut(:, 3) = [157;89;46;12;58;79;25];
lut(:, 4) = [-89;-58;-5;47;58;78;41]
lut = 7×4
0 158 157 -89 1 124 89 -58 2 157 46 -5 3 16 12 47 4 13 58 58 5 14 79 78 6 17 25 41
  1 Comment
MANIKANDAN S
MANIKANDAN S on 13 Feb 2022
Thank you. But I am need to create the "Lookup table" in Simulink for the attached data.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!