Effacer les filtres
Effacer les filtres

How to implement interp2 within Simulink

1 vue (au cours des 30 derniers jours)
rupprechtt
rupprechtt le 11 Août 2017
Commenté : rupprechtt le 12 Août 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!

Réponses (1)

Sebastian Castro
Sebastian Castro le 11 Août 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 commentaire
rupprechtt
rupprechtt le 12 Août 2017
The problem is, I have two Matrices as breakpoints.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Programmatic Model Editing dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by