Fast_chebyshevT

버전 1.0.0 (1.52 KB) 작성자: Lateef Adewale Kareem
This file works exactly as inbuilt chebyshevT in matlab, but its over 1000 times faster.
다운로드 수: 10
업데이트 날짜: 2022/10/24

라이선스 보기

tic;
for i = 1:100
chebyshevT([0, 1, 2, 3, 4], 0.2);
end
time = toc;
disp(['Elapsed time for chebyshevT is ',...
num2str(time),' seconds'])
tic;
for i = 1:100
Fast_chebyshevT([0, 1, 2, 3, 4], 0.2);
end
time = toc;
disp(['Elapsed time for Fast_chebyshevT is ',...
num2str(time),' seconds'])
x = linspace(-1.5,1.5);
plot(x, Fast_chebyshevT(0:4, x), LineWidth=2);
axis([-1.5 1.5 -2 2])
grid on; ylabel('T_n(x)')
legend('T_0(x)','T_1(x)','T_2(x)','T_3(x)',...
'T_4(x)','Location','Best')
title('Chebyshev polynomials of the first kind')

인용 양식

Lateef Adewale Kareem (2026). Fast_chebyshevT (https://kr.mathworks.com/matlabcentral/fileexchange/119473-fast_chebyshevt), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2022b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
버전 게시됨 릴리스 정보
1.0.0