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 件のコメント
Hamza  Pervaiz
Hamza Pervaiz 2019 年 5 月 18 日
Sir , error is in the above mention equations invalid matlab syntaxa always shows when i try to run this program. So just want how to convert LaTex into matlab. And rest of the errors i remove them by my own. That's it ...thanks in advance.
Walter Roberson
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
is intended to mean that k is an element of the complement of the set named K subscript M, where the subscript is just part of the name, and the context would be needed to figure out what the complement was with respect to. But it is also possible given the context that K is a vector of sets, and that you want to pull out the one indexed at M, and take the complement of that.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

タグ

製品


リリース

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by