2 views

Uploaded by surabhide

- 2011 Solution 7
- Calculator Technique 2.0.pptx
- 0774 Okatani (EXTREME)
- Programa
- Ass 6
- mayro.doc
- Rates
- JEE Advanced 2014 Syllabus for Mathematics
- HW15 Problems
- Matrix Sharing Algorithm
- mayro.doc
- Tower of Hanoi
- Avinash Yaramala
- analysis-and-linear-algebra-for-finance-part-ii.pdf
- ORQ1SetB Answers
- 4e Vectors
- The Eclat Algorithm Final
- Calc
- MATLAB I
- ch09

You are on page 1of 2

%%%% Hadamard matrix of oder N is recursively defined as

%%%%% H(N) =

%%%%% [ H(N/2) H(N/2)

%%%%% [ H(N/2) -H(N/2)]

%%%%%% By definition H(1) = 1

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%% Hadamard matrix finds use in signal processing

%%%% One interesting property of Hadamard matrix is

%%%% H(N) * H(N)' = N * I ; I is N*N identity matrix

%%%%%%%%%%%% MATLAB has built-in function hadamard(n)

%%%%% S.R. Bhide

%%%%% 2 April , 2011

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%% Uses user created functions as follows:-

%%%%% function [myhada] = my_hadamard(n)

%%%%% function [is_pow2]= my_is_pow2(n)

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

clear ,clc

n=8;

hada = my_hadamard(n);

if hada ~=0

fprintf('Hadamard matrix of %d x %d \n',n,n)

hada

(hada*hada')/n

else

fprintf('You asked for Hadamard matrix of size n = %d\n ', n)

fprintf('By definition, Hadamard matrix is n x n where n is power of 2')

end

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% function [myhada]=my_hadamard(n)

% if (my_is_pow2(n))~= 1

% disp(' argument must be power of 2');

% myhada=0;

% return

% end

% if ( n==1)

% myhada=1;

%

% else

% myhada=[my_hadamard(n/2) my_hadamard(n/2);

% my_hadamard(n/2) -1*my_hadamard(n/2)];

% end

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% function [is_pow2]=my_is_pow2(n)

% nnn =log2(n);

% nn = round(nnn);

% if ( nnn - nn ) == 0

% is_pow2 = 1 ;

% else

% is_pow2 = 0;

% end

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

1

Hadamard matrix of 8 x 8

hada =

1 1 1 1 1 1 1 1

1 -1 1 -1 1 -1 1 -1

1 1 -1 -1 1 1 -1 -1

1 -1 -1 1 1 -1 -1 1

1 1 1 1 -1 -1 -1 -1

1 -1 1 -1 -1 1 -1 1

1 1 -1 -1 -1 -1 1 1

1 -1 -1 1 -1 1 1 -1

ans =

1 0 0 0 0 0 0 0

0 1 0 0 0 0 0 0

0 0 1 0 0 0 0 0

0 0 0 1 0 0 0 0

0 0 0 0 1 0 0 0

0 0 0 0 0 1 0 0

0 0 0 0 0 0 1 0

0 0 0 0 0 0 0 1

- 2011 Solution 7Uploaded byWilliam Williamsmile
- Calculator Technique 2.0.pptxUploaded byKristine Rose Vergara
- 0774 Okatani (EXTREME)Uploaded byexsatextreme
- ProgramaUploaded byCarlos Montúfar
- Ass 6Uploaded byapi-3834893
- mayro.docUploaded byAnonymous ZPnlod1H7
- RatesUploaded byShashank Lista De
- JEE Advanced 2014 Syllabus for MathematicsUploaded byRahul Chaudhary
- HW15 ProblemsUploaded bymdelano193
- Matrix Sharing AlgorithmUploaded bytomtom1000
- mayro.docUploaded byAnonymous ZPnlod1H7
- Tower of HanoiUploaded byjustvishal_x
- Avinash YaramalaUploaded byHemanthKumar
- analysis-and-linear-algebra-for-finance-part-ii.pdfUploaded byada
- ORQ1SetB AnswersUploaded bySiddharth Raikar
- 4e VectorsUploaded byjohnsex
- The Eclat Algorithm FinalUploaded bybob505
- CalcUploaded byandre_jvc
- MATLAB IUploaded byjkul
- ch09Uploaded bykannappanrajendran
- Karnataka CET 2015 Mathematics Question PaperUploaded byjelu
- CAT de Quant Test 39Uploaded bycomplore
- Peacemaker - Lesson PlanUploaded byCarlito Doringo
- Lecture 28 - Closure PropertiesUploaded byThamer AlMayyan
- 2011S-Calc1-Lec-4-1Uploaded byMuhammad Fiqhi Ibad
- Adapting the Rete-Algorithm to Evaluate F-Logic RulesUploaded byThilini Prasadinie
- CBSE Class 9 Mathematics Sample Paper 2014 (7)Uploaded byravilulla
- 57911-88743-1-SMUploaded byshruthi
- Lecture 13Uploaded byEdutam
- documentUploaded byapi-288922072

- Lab MannualUploaded byRahul Singh
- IC Engine, its components, fuel injection and transmission systemUploaded byParas Thakur
- Kid Ex ReviewUploaded byshukri
- 5TT44_Remote_Control_Switches_201612161333596585Uploaded bycc_bau
- Cisco Support Community - Troubleshooting Ipv6 Bgp Peer Establishment on a Cisco Router - 2012-02-14Uploaded bysaikyawhtike
- Infrastructure Security Step Step 430Uploaded byrajusathya
- Government Gazette - 22nd September PAUploaded byistructe
- Classifications of CouplingsUploaded bysyampnaidu
- REQUIREMENT-IN-A-BUS-AND-VAN-TRANSPORT-TERMINAL.docxUploaded bywilliam
- 62002 EnUploaded byRaphael Lino
- Epson 1400 Service ManualUploaded byJun Ta
- Transfomer BasicsUploaded byvikkykatare
- WT FinalUploaded bysanthipriyasunkara
- EiaUploaded bysac84hin
- Chapter5Mix Design of ConcreteUploaded byNiraj Jha
- Construction & Project Management for Highway TunnelsUploaded byShreedhar
- Copy of KPI bow (3)Uploaded bymustika05
- Cisco Customer Collaboration Portfolio UpdateUploaded bySghiwra09
- cv_vamsi.pdfUploaded byNirmal mehta
- Chapter 7 - Capital Cost EstimationUploaded byAyu Nurpitriani
- ICRI 2002 - NDE for QA of Crack RepairsUploaded bynodevil
- GE2155 UnixUploaded byAnitha Perumalsamy
- Apostila Básica Creo 1.0Uploaded byRenato Nery Domingues
- verbUploaded by101010121212
- DS_Fax Appliance A102 A104Uploaded byJohnson Lukose
- 01 SchroedingerUploaded bygaruda1982
- Lee Curvas DeclinacionUploaded byLuis Mancilla
- Passive Load Control for Large Wind TurbinesUploaded byDragos Matei
- 9A01501 Design & Drawing of Reinforced Concrete StructuresUploaded bysietkcivil
- AEM Hi-Flow Fuel Rail_Installation Instructions 25-108Uploaded byTHMotorsports.net