mirror image of a square matrix
- To: mathgroup at smc.vnet.net
- Subject: [mg66318] mirror image of a square matrix
- From: "ravi" <rv15i at yahoo.se>
- Date: Tue, 9 May 2006 02:35:21 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Let me define the mirror image of a matrix as the operation of flipping
the columns such that the last column becomes the first, the second
last becomes the second and so on. I would like to know if this can be
done simpler than as follows:
mat=Table[Random[],{n},{n}]
matR=Transpose[Reverse[Transpose[mat]]]
Are there any built in functions for operations like these?
/ravi
- Follow-Ups:
- Re: mirror image of a square matrix
- From: Adriano Pascoletti <pascolet@dimi.uniud.it>
- Re: mirror image of a square matrix
- From: gardyloo <gardyloo@mail.wsu.edu>
- Re: mirror image of a square matrix
- From: Sseziwa Mukasa <mukasa@jeol.com>
- Re: mirror image of a square matrix
- From: Andrzej Kozlowski <akoz@mimuw.edu.pl>
- Re: mirror image of a square matrix
- From: ggroup@sarj.ca
- Re: mirror image of a square matrix