how can i use sigma (summation ) in loop

2 vues (au cours des 30 derniers jours)
NAGA LAKSHMI KALYANI MOVVA
NAGA LAKSHMI KALYANI MOVVA le 28 Août 2021
how can i use sigma i.e summation in a loop

Réponses (1)

Chunru
Chunru le 28 Août 2021
% 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

Catégories

En savoir plus sur Mathematics dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by