Feeds
已回答
Function to find the next prime number...
function k=next_prime(n) if ~n>0 || n~=fix(n) || ~isscalar(n); fprintf('n should be positive interger') end i=n+1; if ...
Function to find the next prime number...
function k=next_prime(n) if ~n>0 || n~=fix(n) || ~isscalar(n); fprintf('n should be positive interger') end i=n+1; if ...
4 years 前 | 0