How to create the Lookup table in MATLAB Simulink?

Antworten (1)

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 Kommentar

Thank you. But I am need to create the "Lookup table" in Simulink for the attached data.

Melden Sie sich an, um zu kommentieren.

Kategorien

Gefragt:

am 12 Feb. 2022

Kommentiert:

am 13 Feb. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by