FUNCTION REFERENCE
place
Assign closed-loop poles by state feedback.
Assign closed-loop poles by state feedback.
Syntax
K = place(A,B,p)Chooses K so eig(A-B*K) matches p. For rank(B)=1, computes the effective gain directly with Ackermann's formula in orthogonal Hessenberg coordinates, without forming controllability powers or solving for closed-loop eigenvectors. Otherwise uses KNV method 0 projections for real poles, with a conjugate-preserving two-column determinant maximization for complex pairs. Uses four deterministic starts and up to 80 sweeps per start, stopping at relative determinant change below 1e-8. Multi-input gains are not unique. Complex poles must come in conjugate pairs (relative tolerance 1e-12); requested multiplicity may not exceed numerical rank(B). Numerical rank uses 1e-12*max(size)*largest singular value. Checks achieved poles to 1e-8*(1+abs(p)); exceeding this target issues a warning and returns the gain, because sensitive eigenvalues can limit accuracy even for a valid gain. Uncontrollability, failed solves and nonfinite results still produce errors.
Example
A=[0 1;0 0]; B=[0;1]; K=place(A,B,[-2 -3]); eig(A-B*K)Example
K=place([1 2;3 4],eye(2),[-1+2i -1-2i]);Differences from MATLAB: finite real double A,B only, at most 128 states and inputs; complex pairs use a two-column extension of KNV0. Only K is returned. Conditioning can limit achievable accuracy.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.