No BSD License  

Highlights from
Paley Type I Hadamard matrices

4.0

4.0 | 1 rating Rate this file 2 Downloads (last 30 days) File Size: 2.43 KB File ID: #20527

Paley Type I Hadamard matrices

by Gernot Berger

 

01 Jul 2008 (Updated 02 Jul 2008)

Computes Hadamard matrices (H-matrices) of Paley Type I

| Watch this File

File Information
Description

Usage:
H = paleyI(N);

N: order of the Hadamard matrix to be computed (integer)
H: returns the computed Hadamard matrix or returns 0 if an error occurred (invalid matrix order or incorrect H-matrix)

H-matrices of Paley type I are defined for orders N = 4m = p+1 (m=1,2,3,...), where p is a prime with mod(p,4)=3, i.e. N=12, 20, 44, 60, 68, 72, 84, ... (In this list valid Paley type I matrix orders that are equal to N=2^n (n=1,2,3,...) are omitted).

H-matrices contain only '+1' and '-1' elements and are orthogonal.

The first row and column of a Paley type I H-matrix consists only of '+1' elements. All diagonal elements H(l,m) with l=m~=1 are equal to '-1'. The determination of all other elements is based on evaluating the Legendre symbol,
which is defined to be equal to '+1' or '-1' if its argument is a quadratic residue or a quadratic non-residue.

MATLAB release MATLAB 7.0.1 (R14SP1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
22 Jul 2008 Thomas Stemler  
Please login to add a comment or rating.
Updates
02 Jul 2008

Description text contains unmotivated line breaks.

Tag Activity for this File
Tag Applied By Date/Time
hadamard Gernot Berger 22 Oct 2008 10:08:04
paley Gernot Berger 22 Oct 2008 10:08:04
transform Gernot Berger 22 Oct 2008 10:08:04
mathematics Gernot Berger 22 Oct 2008 10:08:04
general Gernot Berger 22 Oct 2008 10:08:04

Contact us at files@mathworks.com