how can i use sigma (summation ) in loop
7 ビュー (過去 30 日間)
古いコメントを表示
how can i use sigma i.e summation in a loop
0 件のコメント
回答 (1 件)
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)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!