Derivative Calculation Of Polynomials In MatLab(Illustrated Expression)
We explained the derivative calculations of polynomials and division of polynomials in Matlab. In this article, we explain the calculation of derivatives of divided polynomials in Matlab with ‘polyder()’ command with a very basic example below.
Use of ‘polyder()’ to calculate division derivative of polynomials in Matlab.
To calculate the derivatives of divison result and remainder in Matlab has very basic logic. But you need to understand how to define polynomials in Matlab to do this stuff. For example polynomials are defined with vectors ‘a’ and ‘b’ as shown in blue box above. For instance vector ‘a’ stands for the polynomial of 4x^5+6x^4+5x^3+8x^2+9x+3. So, each of element of a vector stands for coefficients respectively starting from left in Matlab.
So we need to see two of results from the derivative calculation of division of polynomials. So we assigned two of variables named ‘numerator’ and ‘denumerator’ to polyder() command in Matlab as above. You can give other names to these variables. And inside the polyder(), we typed the vectors of ‘a’ and ‘b’ to calculate the division of polynomial ‘a’ with polynomial ‘b’. The results are give as shown by bluw arrows above.
Use of ‘polyder()’ command to calculate derivatives of numerator and denumrator of division of polynomials is very easy like above in Matlab. Do not forget to leave your comments and questions about calculate derivatives of numerator and denumrator of division of polynomials with ‘polyder()’ command in Matlab below!