I would like to use a built-in Simulink block to rotate a vector in a circular fashion by a specified amount. Specifically, the block should accept a vector input and allow me to specify the amount of rotation as a dialog parameter. For example, if I input the vector [5 6 7 8] and specify the amount of rotation as two, the block outputs the vector [7 8 5 6].
MATLAB: Can I perform circular rotation of a vector using Simulink 7.2 (R2008b)
circshiftsimulink
Related Question
- Does the Shift Arithmetic block support tunable expressions for code generation in Real-Time Workshop 7.1 (R2008a)
- Is it possible to create and use buses whose elements are single bits in Simulink 7.1 (R2008a)
- How to obtain the parameters of more than one mask at the same time
- Is it possible to convert a vector signal into a Bus in Simulink 7.2 (R2010a)
Best Answer