how to make for loop for this equation

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개)

카테고리

도움말 센터File Exchange에서 Wireless Communications에 대해 자세히 알아보기

질문:

2018년 2월 13일

편집:

2018년 2월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by