Question: Please provide a working MATLAB code for the following question. 1. Consider a polynomial function r(t) of arbitrary order. Write a MATLAB function fxNthOrder PolyDTSignal

Please provide a working MATLAB code for the following question.

Please provide a working MATLAB code for the following question. 1. Consider

1. Consider a polynomial function r(t) of arbitrary order. Write a MATLAB function fxNthOrder PolyDTSignal to discretize the continuous-time polynomial signal r(t) into a discrete-time signal x[n]. As described in class, the discretization steps are: (1) + c(t = tmin + nAL) + [n]. The program should be able to generate the discrete-time signal for any arbitrary inputs (details of the inputs that the program should receive are given below). The program should also return the following outputs. Program inputs: i) domain of te (tmin, tmax) as a vector domainvec; ii) number of samples to be drawn from the continuous-time signal noof Samples; iii) coefficients of the polynomial as a vector (the program should receive a vector of arbitrary length with the coefficients of the polynomial coeffVec) Program outputs: i) vector of time points at which samples were drawn i.e. t=tmin + nAt as the output vector variable tVec; ii) vector of sample indices i.e. n as the output vector variable nVec; iii) vector of sampled signal i.e.

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!