Newbie: ploting Rectangular Signals and apply Grahm-Schmidt procedure??
조회 수: 4 (최근 30일)
이전 댓글 표시
Dear Experts, I would like to work on Gram-Schmidt Orthognolization Procedure for given signals in matlab
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/155991/image.jpeg)
. steps are 1. define and plot the above signals. 2. Obtain Signal Energies 3. find set of orthonormal functions 4. vector representation of the signals
I have obtained the analytical solution for it but would any one be kind enough to help me write the code for it in matlab??
I shall be very much thankful
댓글 수: 0
채택된 답변
Wayne King
2014년 2월 3일
편집: Wayne King
2014년 2월 3일
Presumably you have these as N-dimensional vectors in the MATLAB workspace. Place those vectors as columns of a matrix and us qr().
A = [1 1 0; 1 0 1; 0 1 1];
% columns of A are your signals
[Q,R] = qr(A);
Look at the matrix, Q.
norm(Q(:,1),2) % for example
dot(Q(:,1),Q(:,2)) % for example
댓글 수: 4
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Signal Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!