how to obtain system throughput with power graph
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
this is the graph
this is the equation
and the code i have tried so far
tow=.34
Pa=5:5:15
Ps=10
Pi=[0.3,1,1.6]
N=3
gs=[1.5,2.5,3.5]
yi=[1,2,4]
Pt=((tow*Pa)./(1-tow))
n1=(Pt-sum(Pi(2:N)))*yi(1)
d1=(Ps*gs)+sum(Pi(2:N).*yi(2:N))
a=log2(1+(n1./d1))
res=0
for i=2:N
n2=Pi(i)*yi(i)
d2=Ps*gs+sum(Pi(3:N)*yi(3:N))
fin=log2(1+(n2./d2))
res=res+fin
end
rsum=a+res
plot(Pa,rsum)
hold on
How can I find the way to obtain the graph?
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Graph and Network Algorithms 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!