Question: USE MATLAB! USE MATLAB! QUESTION 1: Using the built-in function polyder, write a new function called polyderivative that will return the coefficients of the nth
USE MATLAB!

USE MATLAB!
QUESTION 1: Using the built-in function polyder, write a new function called polyderivative that will return the coefficients of the nth derivative of a polynomial. The function will receive 2 input arguments: the coefficients of the polynomial and the degree of differentiation (n). The function will also display an error message if the degree of differentiation is less than or equal to zero. Start with the function definition shown below. function [y] = polyderivative (x,n) % Y = POLYDERIVATIVE (X, N) returns the coefficients of the nth derivative of f a polynomial end For example: x = [1 3 2 2]; polyderivative (x,2) ans = 6 6
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
