How to retrieve the row value using the column value and row-column intercept value when using 2D look up tables?

2 views (last 30 days)
I am trying to get the values of y(Column input) and row column intercept value as inputs to the 2D look up table and get the value of x(Row input) as the output of the 2D look up table block.
The above graph is plotted from the values of the lookup table. I am trying to get the value of X at the ouput with the values of Y and Z as inputs.

Answers (1)

Deepak Gupta
Deepak Gupta on 1 Sep 2020
Edited: Deepak Gupta on 1 Sep 2020
I think this might work.
x_found = t.x((t.y==39)&(t.z==3.2))
  1 Comment
Aravind G
Aravind G on 1 Sep 2020
Dot indexing is not supported for variables of this type.
This is the error that I am getting. Is there many way to alter the input ports of 2D lookup table?
I have attched the files here, Please check and let me know. Thank you so much for your reply.

Sign in to comment.

Categories

Find more on Tables in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!