can you help me to calculate the number of multiplication and operation ,we used flops,
Mostra commenti meno recenti
function i = pdga()
n=46;
factors = factor(n);
if length(factors) == 1
i = 1;
else
i = prod(factors(2:end));
end
end
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Agriculture in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!