Question: in matlab please help with this function 5 Prime Factorization function primeFactors - primeFactorization (x, divisor, primeFactors) Input Type Description 1xl double An integer you

5 Prime Factorization function primeFactors - primeFactorization (x, divisor, primeFactors) Input Type Description 1xl double An integer you wish to perform prime factorization on. divisor 1x1 double A possible positive divisor of x. primeFactors 1xM double An array of the current M prime factors of x. prime- Factors is empty the first time your function is Output Type primeFactors 1x double Description An array of all N prime factors of x. See details for an example
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
