eliminate the nullspace of a matrix

16 ビュー (過去 30 日間)
Ano
Ano 2017 年 8 月 7 日
コメント済み: Zoltán Csáti 2018 年 8 月 20 日
Hello, how can I eliminate the nullspace of a square matrix using Matlab? Thank you!
  2 件のコメント
Torsten
Torsten 2017 年 8 月 7 日
If you want a basis of the row space of A, use orth(A.').
The rule is that
null(A) + orth(A.') = R^n
where n is the dimension of your matrix.
Best wishes
Torsten.

サインインしてコメントする。

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2017 年 8 月 7 日
If you have any matrix, square or not, you have only one possibility: remove entire rows or columns that are equal to zero
Example
A=[1 2 3 0;0 0 0 0;1 4 5 0 ;2 7 8 0]
ix=~any(A,1)
A(:,ix)=[]
iy=~any(A,2)
A(iy,:)=[]
  1 件のコメント
Zoltán Csáti
Zoltán Csáti 2018 年 8 月 20 日
Non-empty null space is possible without having zero rows/columns.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Find more on Creating and Concatenating Matrices in Help Center and File Exchange

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by