How do I plot the first four Chebychev polynomials in MATLAB?
古いコメントを表示
How do I plot the first four Chebychev polynomials in MATLAB?
採用された回答
その他の回答 (1 件)
Paulo Silva
2011 年 3 月 3 日
clf;hold all;
min=-1;max=1;points=1000;
x=linspace(min,max,points);
t0=1+0*x;
plot(x,t0)
t1=x;
plot(x,t1)
t2=2.*x.^2-1;
plot(x,t2)
t3=4.*x.^3-3*x;
plot(x,t3)
legend('t0=1','t1=x','t2=2*x^2-1','t3=4*x^3-3*x')
カテゴリ
ヘルプ センター および File Exchange で Polynomials についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!