How can I create this orthogonal matrix using MATLAB?

4 次查看(过去 30 天)
I would like to create the following matrix for know m and n.
The matrix is in the following format for 1<=j<=n. Thanks.
  2 个评论
Youssef  Khmou
Youssef Khmou 2014-3-31
编辑:Youssef Khmou 2014-3-31
hi, Can you mention the source of the orthogonal matrix above?
The other question is if m=n, what can you say about Lnn?

请先登录,再进行评论。

采纳的回答

Andrew Sykes
Andrew Sykes 2014-3-31
If m>n the following should work.
m=8;
n=5;
L=zeros(m,n);
for j=1:n
L(:,j)=((m-n+j-1).*(m-n+j)).^(-1/2).*[ones(m-n+j-1,1) ; -(m-n+j-1) ; zeros(n-j,1)];
end
disp(L)
If m<=n, a similar approach should be possible (but this exact code will generate errors).

更多回答(1 个)

Zeynep Erdogan
Zeynep Erdogan 2019-7-13
grareg

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by