how to write this equation
Afficher commentaires plus anciens

6 commentaires
Is this a duplicate question or are you looking for answers to both questions?
Sultan Al Harthy
le 24 Mar 2020
Sultan Al Harthy
le 24 Mar 2020
Ok, I just wanted to make sure the two questions with the same title weren't a mistake.
No need to email me. I generally don't respond to emails from my profile. If you have details to add, edit your question and add them there.
What part are you having trouble with? How far are you in converting this to Matlab code? You'll need to give it a shot first.
Sultan Al Harthy
le 24 Mar 2020
Sultan Al Harthy
le 24 Mar 2020
Réponses (1)
David Hill
le 24 Mar 2020
Assuming p and m arrays previously established and e,B, and K are scalar.
R=B/2*log2([((1-e)*p(1:K-1)+m(1:K-1))./(p(2:K)-e*p(1:K-1)+m(1:K-1)),((1-e)*p(K)+m(K))/(-e*p(K)+m(K))]);
Catégories
En savoir plus sur Logical dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

