coeffsort

バージョン 1.0.0.0 (1.95 KB) 作成者: Star Strider
Reformats coeffs output to conform to MATLAB conventions for polynomial expression and evaluation.
ダウンロード: 1.3K
更新 2016/3/31

ライセンスの表示

The coeffs (Symbolic Toolbox) function outputs the coefficients and terms of its argument polynomial in ascending order (opposite of the MATLAB convention for polynomials). It occasionally permutes their sequence, so simply using fliplr doeson't always solve the problem. However, the orders of the coefficient and term vector elements always corresponds. This utility takes as arguments the coefficient (C) and polynomial term (T) vectors that coeffs returns (as [C,T]), and the polynomial variable. It returns both coefficient and term vectors in monic, descending order, conforming to the MATLAB convention. It is particularly helpful for long symbolic coefficients, such as those that define transfer functions in terms of component values to be computed elsewhere (the kind of problem I wrote it to solve). See also the coeffs documentation in the Symbolic Math Toolbox.

引用

Star Strider (2024). coeffsort (https://www.mathworks.com/matlabcentral/fileexchange/6907-coeffsort), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R14SP1
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersPolynomials についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0

BSD License added. No code changes.