Contents

%%-------------------------------------------------------------------------%%

%%

Copyright (C) 2020 %%

%%

, , %%

/|/ \ /|/ \ %%

| / _ ,_ | / _ ,_ %%

| \|/ / | | | | \|/ / | | | %%

(/__/ / \//|(/|__/ / \// %%

/| /| %%

\| \| %%

%%

Enrico Bertolazzi %%

Dipartimento di Ingegneria Industriale %%

Universita` degli Studi di Trento %%

email: enrico.bertolazzi@unitn.it %%

%%

%%-------------------------------------------------------------------------%%
kind = 'chebyshev';
pp = OPoly(kind);

x = -1:0.00001:1;
n = 10;

[y,~,s] = pp.eval2( n, x );
z = pp.zeros( n, 1e-10 );
plot( x, zeros(size(x)));
hold on
plot( x, y );
plot( x, s./max(max(s)) );
plot( z, zeros(size(z)), 'o' );
title(kind);