Filter löschen
Filter löschen

MATLAB Function

1 Ansicht (letzte 30 Tage)
James
James am 21 Feb. 2012
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

Akzeptierte Antwort

Sean de Wolski
Sean de Wolski am 21 Feb. 2012
Look at the squeeze() block or function.

Weitere Antworten (1)

Walter Roberson
Walter Roberson am 21 Feb. 2012
Try looking for a "Reshape" block.

Kategorien

Mehr zu Simulink Functions finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by