フィルターのクリア

Could anyone help to covert the equation into matlab code

1 回表示 (過去 30 日間)
Barry Allen
Barry Allen 2020 年 2 月 27 日
コメント済み: Barry Allen 2020 年 2 月 27 日
How to convert this into code?
  2 件のコメント
darova
darova 2020 年 2 月 27 日
You can't convert it. YOu should write your own code
Did you try?
Barry Allen
Barry Allen 2020 年 2 月 27 日
編集済み: Barry Allen 2020 年 2 月 27 日
Yes
for i =2:N
x=1+((Pi(i).*yi(i))./1+sum(Pi*yi(3:N)));
result=log2(x);
y=sum(result);
end

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

採用された回答

David Hill
David Hill 2020 年 2 月 27 日
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 件のコメント
darova
darova 2020 年 2 月 27 日
Barry Allen
Barry Allen 2020 年 2 月 27 日
Oh thanks bro!

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by