how to make for loop for this equation

1 回表示 (過去 30 日間)
VISHALI V
VISHALI V 2018 年 2 月 13 日
編集済み: per isakson 2018 年 2 月 13 日
n=-170/10;
N0=10^n
B=120000;
a=0
for k=1:K
c(k)=(hm(k)*vk(k));
d(k)=abs(c(k));
e(k)=d(k)^2;
f(k)=e(k)*Ptot(k)
%a=a+f(k)
end
for i=1:K
mm=B*N0
em=a+mm
r(i)=f(i)./em
z(i)=abs(r(i));
end
hm(k) is 10x1 matrix and vk(k) is 1x10 matrix Ptot has K number of value
  2 件のコメント
M
M 2018 年 2 月 13 日
What is your problem exactly ?
VISHALI V
VISHALI V 2018 年 2 月 13 日
i attach one file in that equation denominator there is loop how to make "for loop" for that equation

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

回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by