Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.3 - English

Change language to:
Français - 日本語 - Português

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab help >> Linear Algebra > proj

proj

projection

Calling Sequence

P = proj(X1,X2)

Arguments

X1,X2

two real matrices with equal number of columns

P

real projection matrix (P^2=P)

Description

P is the projection on X2 parallel to X1.

Examples

X1=rand(5,2);X2=rand(5,3);
P=proj(X1,X2);
norm(P^2-P,1)
trace(P)    // This is dim(X2)
[Q,M]=fullrf(P);
svd([Q,X2])   // span(Q) = span(X2)

See Also

  • projspec — spectral operators
  • orth — orthogonal basis
  • fullrf — full rank factorization

Authors

F. D.; ;

<< polar Linear Algebra projspec >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Oct 05 12:09:41 CEST 2011