Fast_chebyshevT
                    Versión 1.0.0 (1,52 KB) por  
                  Lateef Adewale Kareem
                
                
                  This file works exactly as inbuilt chebyshevT in matlab, but its over 1000 times faster.
                
                  
              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')
Citar como
Lateef Adewale Kareem (2025). Fast_chebyshevT (https://es.mathworks.com/matlabcentral/fileexchange/119473-fast_chebyshevt), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
              Se creó con
              R2022b
            
            
              Compatible con cualquier versión
            
          Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
New Folder
| Versión | Publicado | Notas de la versión | |
|---|---|---|---|
| 1.0.0 |