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

1 view (last 30 days)
PLease help me friends... its very urgent for my project work.

Accepted Answer

Sebastian Castro
Sebastian Castro on 23 Apr 2015
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

Find more on Dependency Analysis in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!