- Utilize the "2-D Lookup Table" block for this setup.
- In the "Block parameters dialog box" for the "2-D Lookup Table" block, add the required breakpoints and matrix in the “Breakpoints” and “Table data” sections respectively.
- As per the requirements, connect input sources to the "2-D Lookup Table" block for row and column inputs, attach a "Display" block to its output, and run the simulation to observe the results.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1825737/image.png)