フィルターのクリア

How to type in a series in MATLAB

4 ビュー (過去 30 日間)
Salar
Salar 2013 年 12 月 1 日
コメント済み: Walter Roberson 2022 年 6 月 29 日
I want to create a function that when I give it some input, it takes those inputs and make those to be the coefficients of a polynomial,let me explain here: for example my input is [1 2 3 4] , so this function should create s^3 + 2s^2 + 3s^1 +4s^0 , so what I was think was to have something like : syms s a; then ask for the value of n; then say num=(a_n)*s^n + (a_n-1)*s^(n-1) + .... a_0*s^0 , I will really appreciate if some of could help me with translating this into a Matlab code, Thanks

採用された回答

Walter Roberson
Walter Roberson 2013 年 12 月 2 日

その他の回答 (1 件)

Vinod Rajakaruna
Vinod Rajakaruna 2022 年 6 月 26 日
√ 𝑎(2.23) 0.3 log10 25 + 𝑒 0.4 + (2.698) 2 3
  1 件のコメント
Walter Roberson
Walter Roberson 2022 年 6 月 29 日
You have which cannot possibly appear in a polynomial, so this cannot be an answer to the question that was asked.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeClassical Control Design についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by