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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!