Prime_Factor  


[OS]:Win7 Sp1(64bit)

[MATLAB]:R2013a(64bit)

[相關程式碼]:7Z版ZIP版RAR版

[函數]:

1. factor --- Factorization; 質因數分解

2. primes --- Prime numbers less than equal to input value; 製造質數

3. rem --- Remainder after division; 計算餘數

[隨筆]:雖然MATLAB有內建的函數可以使用,但是就當作腦力激盪,無聊打發打發時間。

相关文章