Borrar filtros
Borrar filtros

How to implement interp2 within Simulink

1 visualización (últimos 30 días)
rupprechtt
rupprechtt el 11 de Ag. de 2017
Comentada: rupprechtt el 12 de Ag. de 2017
Is there a way to implement interp2(A,B,C), where size(A) = size(B) = size(C) = [480,640], within Simulink without using a Matlab function?
I thought about a LookUpTable, but didn't know how to use one with Matrices.
Thanks a lot!

Respuestas (1)

Sebastian Castro
Sebastian Castro el 11 de Ag. de 2017
There is a 2-D Lookup Table block where you can enter 2 vectors for the breakpoints and a 2-D matrix for the table data. See here:
- Sebastian
  1 comentario
rupprechtt
rupprechtt el 12 de Ag. de 2017
The problem is, I have two Matrices as breakpoints.

Iniciar sesión para comentar.

Categorías

Más información sobre Programmatic Model Editing en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by