About 18,700,000 results
Open links in new tab
  1. Create and Evaluate Polynomials - MATLAB & Simulink

    This example shows how to represent a polynomial as a vector in MATLAB® and evaluate the polynomial at points of interest.

  2. roots - Polynomial roots - MATLAB - MathWorks

    r = roots(p) returns the roots of the polynomial represented by the coefficients in p as a column vector r. Input p is a vector containing n+1 polynomial coefficients, starting with the coefficient …

  3. How to take a polynomial form as input in matlab?

    May 7, 2025 · i have a polynomial of the form 푓 (푥) = 푎0 + 푎1푥 + ⋯ +푎푛−1푥푛−1+푎푛푥푛.I want to take a0,a1...an from user and n = length (a0,a1...an) example: f = 3*x^2 - 4*x + 2.Help me please,thank you.

  4. solve - Equations and systems solver - MATLAB - MathWorks

    For polynomial equations and systems without symbolic parameters, the numeric solver returns all solutions. For nonpolynomial equations and systems without symbolic parameters, the numeric solver returns only one solution (if a solution exists).

  5. find polynomial equation from array with matlab - Stack Overflow

    Jan 8, 2014 · Instead of calculating y2 by hand, you can do y2 = polyval(p, x). Then to check the fit, do plot(x, y2, x, y, '.r'). As radarhead wrote in his comment, you forgot the coefficient of zero degree (p(4) here).

  6. Write the following equations in MATLAB form. The polynomial degree is equal to the length of the vector p reduced by one. The (polyval) function can be used to evaluate the values of polynomial according to the specified points. returns the value of a polynomial of degree n evaluated at x. The input. polynomial to be evaluated.

  7. How to take an equation as input from user and read the coefficient ...

    Dec 27, 2016 · If the equation is not known to represent a polynomial then you can use children () to break it into pieces, and examine the pieces using symvar () to determine whether they contain the variable of interest.

  8. Polynomials in MATLAB - GeeksforGeeks

    May 9, 2022 · Polynomials in MATLAB are represented as row of a vector containing coefficients ordered by descending powers. For example, the equation G (x) = 2x 4 + 3x 3 - 4x + 1 could be represented as gfg = [2 3 -4 1].

  9. How to take a polynomial as input in matlab? - Stack Overflow

    Mar 28, 2013 · I want to take a polynomial p as input from user in matlab for a given degree (specified by the user each time) such that the polynomial is input one element at a time into a matrix at each index f...

  10. Polynomials - MATLAB & Simulink - MathWorks

    Polynomials are equations of a single variable with nonnegative integer exponents. MATLAB ® represents polynomials with numeric vectors containing the polynomial coefficients ordered by descending power. For example, [1 -4 4] corresponds to x2 - 4x + 4. For more information, see Create and Evaluate Polynomials.

  11. Some results have been removed
Refresh