Could anyone help to covert the equation into matlab code
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
How to convert this into code?
2 commentaires
Réponse acceptée
David Hill
le 27 Fév 2020
Not sure what arrays p and g should be.
B=sum(log(1+(p(2:n).*g(2:n))./(1+arrayfun(@(x)sum(x*g(3:n)),p(2:n))))/log(2));
7 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Creating and Concatenating Matrices 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!