Al momento, stai seguendo questo contributo
- Vedrai gli aggiornamenti nel tuo feed del contenuto seguito
- Potresti ricevere delle email a seconda delle tue preferenze per le comunicazioni
Given an input integer, this simple function returns two of its factors (also integers) such that the product of these factors equals the input and the factors are as close as possible.
Non-integer input will be rounded to the nearest integer.
Examples:
FindClosestFactorization(12) = [3 4]
FindClosestFactorization(39) = [3 13]
FindClosestFactorization(4) = [2 2]
FindClosestFactorization(7) = [1 7]
Cita come
Luke Gane (2026). Find Closest Factorization (https://it.mathworks.com/matlabcentral/fileexchange/57255-find-closest-factorization), MATLAB Central File Exchange. Recuperato .
Informazioni generali
- Versione 1.0.0.0 (764 Byte)
Compatibilità della release di MATLAB
- Compatibile con qualsiasi release
Compatibilità della piattaforma
- Windows
- macOS
- Linux
| Versione | Pubblicato | Note della release | Action |
|---|---|---|---|
| 1.0.0.0 |
