What is lookuptable equivalent when the break points are also matrices?

Hi,
I have three matrices let's say A,B,C each of order mxn. I want to find corresponding value in C if inputs are A and B.
For example:
inputs: A(1,1), B(1,1)
Output: C(1,1)
No only this, I should also be able to find corresponding interpolated value in C if A and B inputs are interpolated values within their respective matrices.
2d lookup table is an option, but the problem is my breakpoints are matrices.
Thank you.

5 comentarios

It is not clear what you mean by "breakpoints", a word which already has a specific meaning:
Hi,
Maybe the title is not apt, but please read the problem which I have explained.
Thank you.
@manoj saladi: are the values in matrices A and B strictly montonically increasing along the two dimensions of the matrices?
B matrix is montonicaly increasing where each column has same value. A matrix is not monotonically increasing, each row has a constant value until certain column number and later starts to decrease.
"... if A and B inputs are interpolated values within their respective matrices"
Are the inputs values or indices?

Respuestas (0)

La pregunta está cerrada.

Productos

Versión

R2017b

Preguntada:

el 26 de Abr. de 2019

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by