There is a method in the expression language, called transpose:

>> transpose([1,2;3,4])
[1, 3; 2, 4]

You can use this easily with an Expression actor.

Steve

At 05:30 PM 7/24/2003 -0600, Paul Schumacher wrote:
Hi,

What's the best way to transpose a matrix?
For example, if I want to perform filtering on the columns
of the matrix, what's the best way to go about doing
this?  I see that the MatrixToSequence actor outputs
the values in a raster order.

Thanks,

Paul




---------------------------------------------------------------------------- Posted to the ptolemy-hackers mailing list. Please send administrative mail for this list to: [EMAIL PROTECTED]

Reply via email to