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