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

4 次查看(过去 30 天)
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.

回答(1 个)

Deepak Gupta
Deepak Gupta 2020-9-1
编辑:Deepak Gupta 2020-9-1
I think this might work.
x_found = t.x((t.y==39)&(t.z==3.2))
  1 个评论
Aravind G
Aravind G 2020-9-1
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by