How can I do a 3D lookup table of a table with different sizes?

조회 수: 1 (최근 30일)
Jose Antonio
Jose Antonio 2014년 8월 1일
댓글: Jose Antonio 2014년 8월 4일
Hi, I'm trying to do a 3D lookup table in a simulink model, but I've got a problem with the sizes.
I've got 3 2D tables with different sizes:
Kbw1 604x6 double
Kbw2 490x5 double
Kbw3 664x7 double
I tried setting Kbw as:
Kbw(:,:,1)=Kbw1
Kbw(:,:,2)=Kbw2
Kbw(:,:,3)=Kbw3
But the dimmensions don't match.
Do you know any solution?
Thank you
  댓글 수: 2
Image Analyst
Image Analyst 2014년 8월 1일
What happens if you try to access the (1,7,1) element? It's not there.
Jose Antonio
Jose Antonio 2014년 8월 4일
I know that, my question is if you know any way to do it so simulink is able to get the information...

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by