How to write this equation in matlab syntax/code? I also attached comments for better understanding...
1 次查看(过去 30 天)
显示 更早的评论
%..Actual equations in paper : h_(i,M) = summation(k ∈ K'_(M)) 1(gamma_(i,k)^(M) ≥ theta_(i) ); %
% γ_(i,k)^(M)= p_(i,M) g_(i,M)/(I_(i,k)^(S) + σ ^ 2 ).
h_(i,M) = \sum \limits _{k \in \mathcal {K}_{M}'} {\textbf {1}(\gamma _{i,k}^{M} \ge {\theta _{i}})};
p_{i}= \alpha_{1}\left({\frac{t_{i}^{max}}{\bar T_{max}}}\right) + \alpha_{2} \left ({\frac{h_{i}}{\bar H}}\right)...
+ \alpha_{3} \left({\frac{\bar E}{e_{i}^{L} - c_{i} \delta ^{R}}}\right);
% p_(i) = α_(1)(t_(i,max)/ ¯T_(max)) + α_(2)(h_(i)/¯H) + α_(3)( ¯E / e_(i,L) − c_(i) δ_(R)),
%.......there is a BAR on T,H,E AND these three variables are equal to the following ;
% {\bar T}_{max}=summation\nolimits_{i\in\mathcal {G}_{O}} t_{i}^{max},
% {\bar H}= summation\nolimits_{i\in\mathcal {G}_{O}} h_{i},
% {\bar E}= summation\nolimits_{i \in \mathcal {G}_{O}} (e_{i}^{L} - c_{i} \delta^{R}) .
% α_(j)(j = {1,2,3}) is a coefficient , 0 <= α_(j) ≤ 1 and summation_(j=1,3) α _(j)=1.
5 个评论
Walter Roberson
2019-5-18
There is no program for converting LaTex into MATLAB code.
The algorithm you are working on uses notation that is ambiguous and needs to be examined in context of the paper to figure out what it means. Based upon some of the other fragments you have posted, I suspect the portion
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!