How to generate an orthogonal symmetric matrix? - matrix

I want to create an orthogonal symmetric matrix of size 5 and size 6. Is there a way for me to generate this type of matrix? An orthogonal symmetric matrix is when a matrix A is equal to its transpose and also its inverse.
I've tried searching for ways to do this but all I get is how to generate an orthogonal matrix or how to generate a symmetric matrix. Couldn't find a way to generate an orthogonal symmetric matrix.

Related

Why do I not get a symmetric matrix

expected symmetric matrix
Why is the resulting matrix not symmetrical?
Jim
Hand multiplication gives a matrix that is not symmetrical

How can I subset a matrix from a larger one in matlab?

how to subset a matrix of different dimension from another one in matlab?Thanks for any help.

How to get thin QR decomposition in Julia?

When I perform QR decomposition on a 3x2 matrix A in Julia, it gives a 3x3 matrix Q. Is there any way I can get a "thin" version of this QR, where it returns a Q that is 3x2 (same dimensions as matrix A)? My goal is just to get an orthonormal basis for the column space of A, so I don't need a 3x3 matrix Q.
This can be achieved with Matrix(qr(A)). qr doesn't return matrices, but rather returns an object that can multiply by other matrices or easily extract the thin or full Q matrix.

Finding Matrix inverse using SIMPLEX Method

How can we find inverse of a matrix using Simplex method? Do we need to have square matrix only or inverse can be found of any matrix? Also specify about the upper bound on the matrix size?
The Matrix Inverse is required during simplex only over the Basis Matrix (Basis Inversion).
Base matrix is a square matrix of dimensions (mxm) where m is the total number of constraints.
This Matrix Inversion is carried out using either the Product form of Inverse or LU Decomposition.

Efficient way of computing matrix product AXA'?

I'm currently using BLAS function DSYMM to compute Y = AX and then DGEMM for YA', but I'm wondering is there some more efficient way of computing the matrix product AXAT, where A is an arbitrary n×n matrix and X is a symmetric n×n matrix?

Resources