two versions of the Euler-phi function
Version 1.0.0 (1,42 ko) par
Thomas
two brief implementations of the Eulerphi function
Version 1 using prime factorization
Version 2 using FFT
as examples try:
eulerphi(100) or eulerphiFFT(100) or
for k = 1:1000; ep(k) = eulerphi(k) ; end; scatter((1:1000),ep,3)
Citation pour cette source
Thomas (2024). two versions of the Euler-phi function (https://www.mathworks.com/matlabcentral/fileexchange/76847-two-versions-of-the-euler-phi-function), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Créé avec
R2019a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0 |