Companion Matrix
Version 1.0.0.0 (838 Bytes) by
Paul Godfrey
Compute the companion matrix for a vector or matrix.
2.7K Downloads
Updated
9 Jun 2003
No License
Compute a companion matrix for a given vector or matrix. This function supercedes the MATLAB compan.m function which only accepts a vector as input.
Cite As
Paul Godfrey (2026). Companion Matrix (https://nl.mathworks.com/matlabcentral/fileexchange/3567-companion-matrix), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R12
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Linear Algebra >
Find more on Linear Algebra in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
