Note that in MATLAB rem ( a , b ) is the remainder on dividing a by b . n = input ( ' Enter n ' ) f = [ n ] ; k = 1 ; while n > 1 k = k + 1 ; if rem ( n ...
確定! 回上一頁