Given a nonnegative integer n, ChebyshevPoly(n) returns the coefficients of the Chebyshev polynomial T_n, given n.
David Terr (2020). ChebyshevPoly.m (https://www.mathworks.com/matlabcentral/fileexchange/4913-chebyshevpoly-m), MATLAB Central File Exchange. Retrieved .
The code fails at high degree. Please do not use this.
Good Job. I am using this to solve one of control problems which i am going to post very soon :) . I don't know how should i cite or mention that i'm using this function in my program ?
Very accurate and well done.
I modified this function so that it returns the result as a column vector.
I changed Laguerre to Chebyshev in the summary.