필터 지우기
필터 지우기

Matlab code for the equation

조회 수: 2 (최근 30일)
TUSHAR MURATKAR
TUSHAR MURATKAR 2020년 1월 15일
I had written partial code for this equation but i want to confirm whether its written correct or not. My code is
for r = 1:1:length(R)% summ2
sum2 = 0;
prod=1;
for k= 1:1:length(R) % prod
if k~=r %when k not equal r
v1 = (1/lam(k))/ ((1/lam(k))-(1/lam(r)));
prod=prod*v1;
end
end
end

답변 (0개)

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by