How to implement interp2 within Simulink

6 ビュー (過去 30 日間)
rupprechtt
rupprechtt 2017 年 8 月 11 日
コメント済み: rupprechtt 2017 年 8 月 12 日
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!

回答 (1 件)

Sebastian Castro
Sebastian Castro 2017 年 8 月 11 日
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 件のコメント
rupprechtt
rupprechtt 2017 年 8 月 12 日
The problem is, I have two Matrices as breakpoints.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by