function problem in matlab
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
ali hassan
le 11 Déc 2020
Réponse apportée : Walter Roberson
le 11 Déc 2020
this is my function to get value of n but its not working.
code:
function[n]=agc(x)
n=1
(0.3790)*x=(1.1)^n
end
0 commentaires
Réponse acceptée
Walter Roberson
le 11 Déc 2020
(0.3790)*x=(1.1)^n
implies that
log(0.3790) +log(x) = n * log(1.1)
which implies that
n = (log(0.3790) + log(x))./log(1.1)
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!