pfz Algorithm

Indian National center for Ocean information service (INCOIS) is an autonomous organization of the government of India, under the Ministry of Earth Sciences, located in Pragathi Nagar, Hyderabad. ESSO- INCOIS is mandated to supply the best possible ocean information and advisory services to society, industry, government agency and the scientific community through sustained ocean observations and constant improvements through systematic and focussed research. 

Apart from PFZ services, the other services such as Indian Early Tsunami Warning, Ocean state forecast, Ocean model, data and web service management were also initiated and their merchandise are being delivered to various stakeholders in the state on a daily basis. The new organization so formed was named as an Indian National center for Ocean information service (INCOIS) and was put under reputed scientist Dr A.Narendra NathDuring the 1990s, the Ministry of Earth Sciences, formerly Department of Ocean development (DOD), had initiated a project titled" PFZ Mission" and it was handed over to National Remote Sensing center (NRSC), Hyderabad, AP.
% pfz: returns the prime factorization of that number.
% assumes: number is positive
% uses: function isPrime
function y = pfz(number)
  assert(number >= 0,'number must be positive')
  y = []; % collects all prime factors
  tmp = number; % saves temporary the argument
  for divisor = 2 : 1 : sqrt(number)
    if (isPrime(divisor))
      while (mod(number,divisor) == 0)
        y = [y divisor];
        number = idivide(number,divisor); % integer division
      endwhile
      number = tmp;
    endif
  endfor
endfunction

LANGUAGE:

DARK MODE: