필터 지우기
필터 지우기

how can i use sigma (summation ) in loop

조회 수: 7 (최근 30일)
NAGA LAKSHMI KALYANI MOVVA
NAGA LAKSHMI KALYANI MOVVA 2021년 8월 28일
how can i use sigma i.e summation in a loop

답변 (1개)

Chunru
Chunru 2021년 8월 28일
% The input data
mc = 10;
a = randi(mc, 1); % alpha
l = randi(mc, 1); % l
b = sum((pi-a).*l)/(4*pi)
b = -0.4099

카테고리

Help CenterFile Exchange에서 Mathematics에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by