two versions of the Euler-phi function

版本 1.0.0 (1.4 KB) 作者: Thomas
two brief implementations of the Eulerphi function
20.0 次下载
更新时间 2020/6/11

查看许可证

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)

引用格式

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. 检索时间: .

MATLAB 版本兼容性
创建方式 R2019a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0