Hello all
I am creating an accumulating array using the MATLAB function block in Simulink. I do get the array but instead of a 2-D array and get a 3-D array. (for eg. instead of 1-by-600 I get an array of 1-by-600-by-600 array. I am using this array during the simulation to use in look up table(dynamically), so I would want the output of the function as a 2-D array. Could anybody help me out!
Thanks James

 채택된 답변

Sean de Wolski
Sean de Wolski 2012년 2월 21일

0 개 추천

Look at the squeeze() block or function.

추가 답변 (1개)

Walter Roberson
Walter Roberson 2012년 2월 21일

0 개 추천

Try looking for a "Reshape" block.

카테고리

도움말 센터File Exchange에서 Simulink Functions에 대해 자세히 알아보기

제품

질문:

2012년 2월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by