How to implement interp2 within Simulink
显示 更早的评论
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
2017-8-11
0 个投票
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
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!