Question: Using MATLAB 1.3 polyDiffm function [Dmf, Dm] polyDiffm(f, m) Input Description Coefficient vector for a general nth-degree poly- nomial f(x) (see below) Degree of derivative
Using MATLAB
![Using MATLAB 1.3 polyDiffm function [Dmf, Dm] polyDiffm(f, m) Input Description Coefficient](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f0336e4b087_83766f0336dd1c3c.jpg)
1.3 polyDiffm function [Dmf, Dm] polyDiffm(f, m) Input Description Coefficient vector for a general nth-degree poly- nomial f(x) (see below) Degree of derivative to take on f(r Type (n+1) x1 1x1 double Output Dmf Dm Coefficient vector for f"(x) Differentiation matrix such that Dm fDmf (n+l)xl double (n+1)x (n+1) double Write a MATLAB function which finds the mth derivative of the general nth-degree poly- nomial f(x)aa22 +... + anx", as represented by its coefficient vector, = [a-0; a-1; a.2, ; a-n] (the length of f will be n + 1) Details The output, Dmf should also have length n+1, and should be the coefficient vector of the polynomial f"(r) . The output, Dm should be the mth derivative matrix, such that isequal (DMH, Dmf) evaluates to TRUE Hint: use your function polyDiff to solve this
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
