In the 2-d look up table how can we place the values to get same as like this graph.

 Accepted Answer

This seems to be a 1-D lookup table, since the x-axis typically represents your lookup and the y-axis is your output.
You can parameterize this in a 1-D Lookup table block using MATLAB vectors as follows:
Table data: [5,10,5,10,10]
Breakpoints: [5,10,10.01,15,27]
Note that you can't have 2 values at EXACTLY the same time, so I entered one as 10.01. Feel free to break this requirement however you'd like.
- Sebastian

More Answers (0)

Categories

Products

Tags

Community Treasure Hunt

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

Start Hunting!