Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2024.1.0 - Русский


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
  • orthProj — Computes the orthogonal projection of a point to a polyline in the plane.
  • fullrf — full rank factorization
Report an issue
<< householder Linear Algebra Interpolation >>

Copyright (c) 2022-2024 (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:
Mon Jun 17 17:55:05 CEST 2024