Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português - Русский - 日本語
Scilab Help >> Linear Algebra > proj

proj

projection

Syntax

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
Scilab Enterprises
Copyright (c) 2011-2015 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jun 15 08:27:34 CEST 2016