How to implement interp2 within Simulink

3 次查看(过去 30 天)
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

类别

Help CenterFile Exchange 中查找有关 Event Functions 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by